[Haskell-beginners] Combining IO and Either function to "EitherT e IO a"
ky3 at atamo.com
Wed Mar 5 18:18:55 UTC 2014
On Thu, Mar 6, 2014 at 12:49 AM, Nathan Hüsken <nathan.huesken at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners