
8 Apr
2010
8 Apr
'10
6:01 p.m.
On 04/08/10 16:07, Bas van Dijk wrote:
... Especially because, for some weird reason, Data.Functor is not know to hoogle.
http://haskell.org/hoogle/?q=Data.Functor
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 Data.Functor:
: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