[Haskell-beginners] How do I declare a set?

Heinrich Ody heinrich.ody at gmail.com
Fri Feb 22 00:43:41 CET 2013


Hi,

with [1,2] I can declare a list. Is there a similar notation for sets?
Currently the only way I know is 'Set.fromList [1,2]' which is unhandy...

Regards,
Heinrich



More information about the Beginners mailing list