[Haskell-cafe] Questions about Functor, Applicative, Monad

Kenn Knowles kenn at kennknowles.com
Mon May 5 22:54:01 UTC 2014


Hi Corentin,

This may be a good answer for some of your questions:
http://stackoverflow.com/questions/7220436/good-examples-of-not-a-functor-functor-applicative-monad

Kenn


On Mon, May 5, 2014 at 6:31 PM, Corentin Dupont
<corentin.dupont at gmail.com>wrote:

> Hi everybody!
> Two questions in one:
> - When you define and instance of a Monad, why don't you get the
> Applicative and Functor instances for free? I seem that you can
> mechanically write them.
> - Do you have examples of things that are Functors but not Applicative?
> Applicative but not Monads?
>
> Tchuss
> Corentin
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140505/e41a3554/attachment.html>


More information about the Haskell-Cafe mailing list