Add flipped fmap
ml at isaac.cedarswampstudios.org
Thu Apr 8 18:01:06 EDT 2010
On 04/08/10 16:07, Bas van Dijk wrote:
> ... Especially
> because, for some weird reason, Data.Functor is not know to hoogle.
> And<$> is reported to be only exported by Control.Applicative
oh gee, there seems to be some confusion. At least, I was confused.
Well, here's a list from the GHC(i) 6.12.1 prompt about what's in
> :browse Data.Functor
(<$>) :: (Functor f) => (a -> b) -> f a -> f b
class Functor f where
fmap :: (a -> b) -> f a -> f b
(<$) :: a -> f b -> f a
More information about the Libraries