Skip to content

readFile problem in ghci

readFile has a problem in ghci on cygwins (windows XP):

Prelude> writeFile "test" "this is a test"
Prelude> readFile "test"
<interactive>:1:0: lexical error at character '['
Edited by Ian Lynagh -
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information