:Prelude> :t getLine
getLine :: IO String
I think you know a lot more about Haskell than I do so I'm curious what the thinking behind your post was.
Thanks,
Tim
On Thu, Mar 6, 2014 at 12:49 AM, Nathan Hüsken <nathan.huesken@posteo.de> wrote:
Mmh, I might not have used haskell terminology correctly. Its a function, in the sense of a function of an imperative language ...Yes, you could model IO String in C as a function taking void and returning a pointer to char.
Calling an IO String a Haskell function would confuse a lot of people.-- Kim-Ee
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners