Two Proposals

Manuel M T Chakravarty chak at cse.unsw.edu.au
Thu Oct 6 08:09:39 CEST 2011


Roman Leshchinskiy:
> Simon Peyton-Jones wrote:
>> 
>> I'm not sure if this plan would support [("fred",45), ("bill",22)] :: Map
>> String Int.  Probably not.   Maybe that's a shortcoming... but such Maps
>> are a rather surprising use of list literals.
> 
> 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.)

Manuel



More information about the Glasgow-haskell-users mailing list