[Haskell-beginners] Ignore in import

Imants Cekusins imantc at gmail.com
Sat Oct 24 13:13:32 UTC 2015


> Duplicate instance declarations:

it appears that there is (or was?) no way to hide instance definitions:

https://mail.haskell.org/pipermail/haskell-cafe/2009-July/063842.html

however looking at the exercise:

"... implement Functor instances for Either e, ((,) e), and
((->) e).”

does this not suggest

1) instance Functor Either e, ((,) e)
and
2) instance Functor Either e, ((->) e)

?


More information about the Beginners mailing list