
2 Oct
2008
2 Oct
'08
4:40 p.m.
Robert Greayer wrote:
--- On Thu, 10/2/08, Andrew Coppin
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...