
30 Dec
2006
30 Dec
'06
11:39 a.m.
Hi
I was solving some programming puzzles today[1], and found myself pining for Map comprehensions.
[ ... (key,val) <- fromList map, ... ] It isn't really that much more than a straight comprehension would be on a map. By default should a map comprehension let you inspect the values, or the keys, or both? Thanks Neil