Proposal: Add Monad instance for WrappedMonad

Nathan van Doorn nvd1234 at gmail.com
Sat Aug 3 10:53:20 CEST 2013


Definitely +1 from me


On 2 August 2013 22:43, John Wiegley <johnw at fpcomplete.com> wrote:

> >>>>> Daniel Gorín <dgorin at dc.uba.ar> writes:
>
> > Control.Applicative.WrappedMonad allows one to use the Functor and
> > Applicative interfaces of something that is only known to be a Monad but,
> > oddly enough, it hides its Monad interface.  The proposal is to add the
> > missing Monad instance.  A typical use case for this instance would be:
>
> > A related proposal for the transformers package would be to add a
> MonadTrans
> > instance for WrappedMonad as well.
>
> +1
>
> --
> John Wiegley
> FP Complete                         Haskell tools, training and consulting
> http://fpcomplete.com               johnw on #haskell/irc.freenode.net
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20130803/9cab3d9e/attachment.htm>


More information about the Libraries mailing list