<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yes! It’s obvious once its pointed out.<div class=""><br class=""><div class="">Thanks</div><div class=""><br class=""><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 24 Oct 2015, at 16:25, Ryan Trinkle <<a href="mailto:ryan.trinkle@gmail.com" class="">ryan.trinkle@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">For the purpose of learning the material, it might be easiest to just write:<div class=""><br class=""></div><div class="">class MyFunctor f where</div><div class="">  myFmap :: (a -> b) -> f a -> f b</div><div class=""><br class=""></div><div class="">and then create instances of that, instead.</div><div class=""><br class=""></div><div class="">This way, you won't have any conflicts with existing instances.</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Oct 24, 2015 at 10:16 AM, Petr Vápenka <span dir="ltr" class=""><<a href="mailto:petr.vapenka@gmail.com" target="_blank" class="">petr.vapenka@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="">You can try NoImplicitPrelude language extension (this may not work, too) or use newtype wrappers or normal data types with the same shape.</p>
<div class="gmail_quote">Dne 24.10.2015 16:05 napsal uživatel "Imants Cekusins" <<a href="mailto:imantc@gmail.com" target="_blank" class="">imantc@gmail.com</a>>:<div class=""><div class="h5"><br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> I think its functor for each of ...<br class="">
<br class="">
sorry, you are right.<br class="">
<br class="">
well maybe it is possible with a non-ghc compiler?<br class="">
_______________________________________________<br class="">
Beginners mailing list<br class="">
<a href="mailto:Beginners@haskell.org" target="_blank" class="">Beginners@haskell.org</a><br class="">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br class="">
</blockquote></div></div></div>
<br class="">_______________________________________________<br class="">
Beginners mailing list<br class="">
<a href="mailto:Beginners@haskell.org" class="">Beginners@haskell.org</a><br class="">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">Beginners mailing list<br class=""><a href="mailto:Beginners@haskell.org" class="">Beginners@haskell.org</a><br class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>