[Haskell-cafe] Is it acceptable if Applicative behave not like a Monad

Marcin Mrotek marcin.jan.mrotek at gmail.com
Fri May 1 10:36:28 UTC 2015


If you don't mind your users wishing you death when they code breaks
when they combine applicative style with do notation like:

foo <- bar <$> baz <*> qux

then sure, go ahead.

Seriously, though, Andrew Gibiansky is right, use a newtype.

Best regards,
Marcin Mrotek


More information about the Haskell-Cafe mailing list