[Haskell-cafe] Re: Overriding a Prelude function?
michael rice
nowgate at yahoo.com
Thu Apr 23 08:32:50 EDT 2009
OK, the 3rd and 4th responses below are the same, which is as it should be. I think we can put this thread to bed.
Thanks to all who participated.
Michael
*Main> rollDie 362354
(3,1795116384)
*Main> rollDie 1795116384
(1,523309185)
*Main> rollDie 523309185
(4,1311937830)
*Main> (rollDie ~>> (rollDie ~>> rollDie)) 362354
(4,1311937830)
*Main>
--- On Thu, 4/23/09, Heinrich Apfelmus <apfelmus at quantentunnel.de> wrote:
From: Heinrich Apfelmus <apfelmus at quantentunnel.de>
Subject: [Haskell-cafe] Re: Overriding a Prelude function?
To: haskell-cafe at haskell.org
Date: Thursday, April 23, 2009, 5:18 AM
Achim Schneider wrote:
> Well, you obviously need an initial seed:
>
> rollDie 0xdeadbeef ~>> (rollDie ~>> rollDie)
Achim means
(rollDie ~>> (rollDie ~>> rollDie)) 0xdeadbeef
Regards,
apfelmus
--
http://apfelmus.nfshost.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090423/a22fe8d5/attachment.htm
More information about the Haskell-Cafe
mailing list