> cam-02-unx:~/tmp$ $gpj -c Foo.hs
> 
> Foo.hs:5:
>     No instance for (Num (f a))
>       arising from the literal `1' at Foo.hs:5
>     Probable cause: the monomorphism restriction applied to the
> following:
>       e :: f a (bound at Foo.hs:5)
>     In the second argument of `fmap', namely `1'
>     In a right-hand side of function `e': fmap id 1

Nice one.

Next on my wish list is ... :)

Cheers,
Bernie.
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to