[Haskell-cafe] IO monads, stream handles, and type inference

Felix Kunzmann fe.kunzmann at gmail.com
Wed Nov 12 19:36:04 UTC 2014


SendOSC is a type class and not a data type (or type synonym or newtype).

2014-11-11 5:23 GMT+01:00 Rohan Drape <rohan.drape at gmail.com>:

> > *How to read the "instances" portion of Hackage documentation?*
>
> is there some reason to use hosc-0.13?
>
> the hackage documentation for 0.13 is very obscure on this point
>
> & for complicated reasons not much to do with hosc
>
> > I understand the middle two clauses: that io should be of type MonadIO,
> and
> > t should be of type Transport.
>
> hosc-0.15 says only "(Transport t, MonadIO io) => SendOSC (ReaderT t io)"
>
> so you may understand all there is to understand?
>
> best,
> rd
>
> _______________________________________________
> 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/20141112/1cb72b9d/attachment.html>


More information about the Haskell-Cafe mailing list