[Haskell-cafe] IO vs MonadIO

Sergey Mironov ierton at gmail.com
Wed Sep 12 10:24:06 CEST 2012

Hi. Just a brief question. System.IO functions are defined in IO monad
and have signatures like Foo -> IO Bar.
Would it be better to have all of them defined as (MonadIO m) => Foo
-> m Bar? What are the problems that would arise?


More information about the Haskell-Cafe mailing list