[Haskell-cafe] How can I stop GHCi from calling "show" for IO actions?

Ryan Ingram ryani.spam at gmail.com
Mon Sep 17 15:36:10 EDT 2007

On 9/17/07, Henning Thielemann <lemming at henning-thielemann.de> wrote:
> On Sat, 15 Sep 2007, Sam Hughes wrote:
> > Prelude> (x,y) <- return $ (repeat 1, repeat 2)

> You didn't tell, which Monad this shall be.

GHCi always runs in the IO monad.

  -- ryan

More information about the Haskell-Cafe mailing list