[Haskell-cafe] odd problem with export list of System.IO

Manlio Perillo manlio_perillo at libero.it
Sun Mar 1 09:07:08 EST 2009


Hi.

Maybe I'm missing something, but I don't understand why the following 
program:

module Main where
import System.IO (Handle, withFile, ReadMode)

main = do
   return


fails to compile, with a
Module `System.IO' does not export `ReadMode'



Thanks  Manlio Perillo


More information about the Haskell-Cafe mailing list