[Haskell-beginners] Combining IO and Either function to "EitherT e IO a"

David Thomas davidleothomas at gmail.com
Wed Mar 5 23:22:39 UTC 2014


It's a function of zero arguments.  It's also sort of, kind of a function
from RealWorld to (String, RealWorld) if you squint.


On Wed, Mar 5, 2014 at 10:18 AM, Kim-Ee Yeoh <ky3 at atamo.com> wrote:

>
> 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.
>
> -- Kim-Ee
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140305/9eac3c5b/attachment.html>


More information about the Beginners mailing list