DPH Questions

Manuel M T Chakravarty chak at cse.unsw.edu.au
Thu Feb 12 18:25:42 EST 2009


Roman Cheplyaka:
> * Manuel M T Chakravarty <chak at cse.unsw.edu.au> [2009-02-12  
> 12:16:26+1100]
>>> Also - there are several papers which mention foldP as being part of
>>> the (prospective) implementation, but I couldn't find this in any of
>>> the modules.  Has this one not been implemented yet?
>>
>> Up to now, the implementation of operations in the special-purpose
>> Prelude and the array library was essentially driven by the  
>> examples we
>> coded so far:
>>
>>  http://darcs.haskell.org/packages/dph/examples/
>>
>> So if we didn't actually use a function somewhere, we probably didn't
>> implement it.  Again, the motivation was to get simple examples  
>> working
>> before making any attempt at completing the set of supported language
>> features or library functions.
>
> It is present here [1] -- so at least it has been implemented.
>
>  1. http://www.haskell.org/ghc/docs/latest/html/libraries/base/GHC-PArr.html#v%3AfoldlP

That's an old library, not the one used for vectorised code.

Manuel



More information about the Glasgow-haskell-users mailing list