
5 Oct
2011
5 Oct
'11
7:29 a.m.
On Wed, Oct 5, 2011 at 8:23 AM, 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.
Maps and Sets are nice, since we don't have syntax sugar for them. -- Felipe.