On Wed, Oct 5, 2011 at 8:23 AM, Roman Leshchinskiy <r...@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.

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to