[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:51:19 EDT 2005
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)
--
flippa at flippac.org
The task of the academic is not to scale great
intellectual mountains, but to flatten them.
More information about the Haskell-Cafe
mailing list