[Haskell-cafe] Re: Referential Transparency and Monads

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Fri Apr 10 01:12:31 EDT 2009


On 2009 Apr 10, at 1:09, Jonathan Cast wrote:
> On Fri, 2009-04-10 at 01:03 -0400, Brandon S. Allbery KF8NH wrote:
>> On 2009 Apr 10, at 0:52, Jonathan Cast wrote:
>>> On Fri, 2009-04-10 at 00:46 -0400, Brandon S. Allbery KF8NH wrote:
>>>>> IO a  ~  World -> (a, World)
>>>>
>>>> I still don't understand this; we are passing a World and getting a
>>>> World back,
>>>
>>> We are?  Why do you think that?
>>
>> Because that's what (World -> (a,World)) means, last I checked.
>
> Does
>
>    undefined :: (a, World)
>
> contain a World?

Does

 > undefined :: Sum Int

contain an Int?  Please use some common sense, your recent responses  
are increasingly incoherent.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090410/2bf76b0d/PGP.bin


More information about the Haskell-Cafe mailing list