j
k
j a
j l
Steffen Schuldenzucker wrote:
data Foo a = Foo a instance Functor Foo where fmap f (Foo x) = Foo . f . f $ x
data Foo a = Foo a
instance Functor Foo where fmap f (Foo x) = Foo . f . f $ x
I think this doesn't typecheck. Cheers, Jochem -- Jochem Berndsen | jochem@functor.nl | jochem@牛在田里.com
Back to the thread
Back to the list