Two Proposals

Roman Leshchinskiy rl at cse.unsw.edu.au
Thu Oct 6 10:30:27 CEST 2011


Manuel M T Chakravarty wrote:
> Roman Leshchinskiy:
>>
>> What data structures other than lists do we want to construct using list
>> literals? I'm not really sure what the use cases are.
>
> Parallel arrays! (I want to get rid of our custom syntax.)

Why? Don't you think it is useful to have a visual indication of which
data structure you are using and what is going to be evaluated in
parallel?

In any case, if we want to get rid of the parallel array syntax, we have
to overload list literals, enumerations and list comprehensions. We have
the generic monadic desugaring for the latter but recovering an efficient
DPH program from that sn't trivial.

Roman






More information about the Glasgow-haskell-users mailing list