[Haskell-cafe] Re: Can we come out of a monad?

Thomas Davie tom.davie at gmail.com
Wed Aug 11 09:26:08 EDT 2010


On 11 Aug 2010, at 14:17, Ertugrul Soeylemez wrote:
> 
> There is a fundamental difference between an IO computation's result and
> a Haskell function's result.  The IO computation is simply a value, not
> a function.

That's a rather odd distinction to make – a function is simply a value in a functional programming language.  You're simply wrapping up "we're talking about haskell functions when we talk about referential transparency, not about IO actions" in a way that maintains the warm fuzzy feeling.

Bob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100811/5306a6a3/attachment.html


More information about the Haskell-Cafe mailing list