[Haskell-cafe] Applicative but not Monad

Jeremy Shaw jeremy at n-heptane.com
Fri Oct 30 16:51:00 EDT 2009


Formlets are not Monads.

http://www.haskell.org/haskellwiki/Formlets

If you tried, you could actually implement a Monad instance for  
Formlets, but it would lead to very undesirable behavior.  Specially,  
if a field in the form failed to validate, then the rest of the form  
would not be rendered at all.

- jeremy



On Oct 30, 2009, at 11:14 AM, Yusaku Hashimoto wrote:

> Hello cafe,
> Do you know any data-type which is Applicative but not Monad?
>
> Cheers,
> -~nwn
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list