
6 Oct
2011
6 Oct
'11
2:09 a.m.
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