[Haskell-beginners] Ignore in import

Mike Houghton mike_k_houghton at yahoo.co.uk
Sat Oct 24 16:13:59 UTC 2015


Yes! It’s obvious once its pointed out.

Thanks



> On 24 Oct 2015, at 16:25, Ryan Trinkle <ryan.trinkle at gmail.com> wrote:
> 
> 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 <mailto:petr.vapenka at 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 at gmail.com <mailto: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 <mailto:Beginners at haskell.org>
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners <http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners>
> 
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org <mailto:Beginners at haskell.org>
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners <http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners>
> 
> 
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20151024/aad8f09b/attachment-0001.html>


More information about the Beginners mailing list