[Haskell-beginners] Syntactic sugar to insert into a Map?

martin martin.drautzburg at web.de
Sun Jul 21 14:36:36 CEST 2013

Hello all,

What is the best way to enter several (key, value) pairs into a Map,
such that the code "looks nice", kind of like the do-notation with monads.

I suppose this question is not really specific to a Map. It is about
chaining functions with a type of a1 ->...-> an -> b -> b.

Is there any syntactic sugar available?

More information about the Beginners mailing list