[Haskell-beginners] Ignore in import
ryan.trinkle at gmail.com
Sat Oct 24 15:25:16 UTC 2015
For the purpose of learning the material, it might be easiest to just write:
class MyFunctor f where
myFmap :: (a -> b) -> f a -> f b
and 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 at gmail.com>
> 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 at 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 at haskell.org
> Beginners mailing list
> Beginners at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners