At 2002-03-05 14:43, Zhe Fu wrote: >content :: FilePath -> String >content f = readFile f
You have the wrong type signature for 'content'. This should solve it: content :: FilePath -> IO String content f = readFile f Of course, you'll need to change whatever uses 'content'. -- Ashley Yakeley, Seattle WA _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
