3 Apr
2001
3 Apr
'01
12:57 a.m.
I am new to the list and to Haskell, and would appreciate any help anyone can give me on a problem I am having. I am using Hugs98 in case that matters. My question involved reading from a file. I used the line: readFile "c:/myfile.txt" To read my file and this works fine. I now want to take the contents of the file and use it in a function that takes in a String, but am getting an error since readFile returns an IO String. Is there a way to convert an IO String to a normal String? Thank you all. Rob