On Sun, Mar 1, 2009 at 3:07 PM, Manlio Perillo <[email protected]> wrote:
> Hi.
>
> Maybe I'm missing something, but I don't understand why the following
> program:
>
> module Main where
> import System.IO (Handle, withFile, ReadMode)

You want to import IOMode(..), not ReadMode. The latter is a data
constructor of the IOMode type.

Cheers,

Johan
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to