On 24 Oct 2015, at 16:25, Ryan Trinkle <ryan.trinkle@gmail.com> wrote:For the purpose of learning the material, it might be easiest to just write:class MyFunctor f wheremyFmap :: (a -> b) -> f a -> f band then create instances of that, instead.This way, you won't have any conflicts with existing instances._______________________________________________On Sat, Oct 24, 2015 at 10:16 AM, Petr Vápenka <petr.vapenka@gmail.com> wrote:You can try NoImplicitPrelude language extension (this may not work, too) or use newtype wrappers or normal data types with the same shape.
Dne 24.10.2015 16:05 napsal uživatel "Imants Cekusins" <imantc@gmail.com>:> I think its functor for each of ...
sorry, you are right.
well maybe it is possible with a non-ghc compiler?
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners