[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


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

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

main = do

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

Thanks  Manlio Perillo

More information about the Haskell-Cafe mailing list