[Haskell-cafe] Monadic vs "pure" style (was: pros and cons of sta tic typing and side effects)

Philippa Cowderoy flippa at flippac.org
Tue Aug 30 20:53:06 EDT 2005

On Wed, 31 Aug 2005, Philippa Cowderoy wrote:

> On Wed, 31 Aug 2005, Ben Lippmeier wrote:
>> I imagine this would be an absolute pain for library writers. Notice that 
>> we get Data.Map.map but no Data.Map.mapM - or perhaps there's some magical 
>> lifting combinator that I am not aware of?
> sequence (Data.Map.map (\x -> someAction x) someMap)

Or not - I really should've at least typechecked that before sending. 
Wonder how fast toList and fromList are?

flippa at flippac.org

There is no magic bullet. There are, however, plenty of bullets that 
magically home in on feet when not used in exactly the right circumstances.

More information about the Haskell-Cafe mailing list