Robert Greayer wrote:
--- On Thu, 10/2/08, Andrew Coppin <[EMAIL PROTECTED]> wrote:
I'm lost...

(What does liftM have to do with fmap?)

They're (effectively) the same function.

i.e.

liftM :: (Monad m) => (a -> b) -> m a -> m b
fmap :: (Functor f) => (a -> b) -> f a -> f b

Hmm. Interesting. I hadn't thought of it like that...

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to