new major release of transformers package
Michael Snoyman
michael at snoyman.com
Thu Mar 8 10:46:59 CET 2012
On Mar 8, 2012 11:43 AM, "Gábor Lehel" <illissius at gmail.com> wrote:
>
> On Thu, Mar 8, 2012 at 10:18 AM, Michael Snoyman <michael at snoyman.com>
wrote:
> > My solution was to create a new typeclass[2]:
> >
> > class MonadLift base m | m -> base where
> > lift :: base a -> m a
>
> Have you seen:
> http://hackage.haskell.org/package/transformers-base
Yes, I actually use it quite a bit via monad-control. However, MonadBase
has a different purpoe: an instance of MonadBase for Widget would be
intended to lift to IO, not to Handler. But perhaps transformers-base would
be a good place to include a typeclass like MonadLift.
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20120308/0fc215e3/attachment.htm>
More information about the Libraries
mailing list