[Haskell-cafe] Parsec monad transformer with IO?
Job Vranish
job.vranish at gmail.com
Thu Mar 18 17:04:23 EDT 2010
Hoogle is a great tool for finding haskell functions:
http://www.haskell.org/hoogle/
You can punch in the type of a function you want and it will give you a list
of functions that might do what you need.
Generalizing the types a bit usually helps. Searching for either m a -> n m
a or IO a -> m a would give you 'lift' and 'liftIO' as one of the top
results.
- Job
On Thu, Mar 18, 2010 at 1:58 PM, Stefan Klinger <all-lists at stefan-klinger.de
> wrote:
> On 18 March 2010, Gregory Collins wrote with possible deletions:
> > ParsecT has a MonadIO instance:
> >
> > class Monad m => MonadIO m where
> > liftIO :: IO a -> m a
>
> Thank you! I didn't see this. Great!
>
> Kind regards,
> Stefan
>
>
> --
> Stefan Klinger o/klettern
> /\/ bis zum
> send plaintext only - max size 32kB - no spam \ Abfallen
> http://stefan-klinger.de
> _______________________________________________
> 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/20100318/79e78f52/attachment.html
More information about the Haskell-Cafe
mailing list