Two Proposals

Felipe Almeida Lessa felipe.lessa at gmail.com
Wed Oct 5 13:29:23 CEST 2011


On Wed, Oct 5, 2011 at 8:23 AM, Roman Leshchinskiy <rl at cse.unsw.edu.au> wrote:
> 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.

Maps and Sets are nice, since we don't have syntax sugar for them.

-- 
Felipe.



More information about the Glasgow-haskell-users mailing list