On Wed, Jan 14, 2009 at 5:04 PM, Paolo Losi <paolo@hypersonic.it> wrote:
mapM' is generic and already implemented: fmap2) I have written some support functions: mapM' and filterM'
Are they well written and generic?
(Note that a Monad is also a Functor)
filterM' is specific enough not to deserve any package
filterM' = fmap . map
that I like more...I find it readable... It's ok IMO.
Are they already available in some package?
Can you suggest better names?
3) I find
(,) node `liftM` walkTree' path
not very readable.
Is it possible to express it in a more (not too much) verbose way?