[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.


*Main> rollDie 362354
*Main> rollDie 1795116384
*Main> rollDie 523309185
*Main> (rollDie ~>> (rollDie ~>> rollDie)) 362354

--- 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



Haskell-Cafe mailing list
Haskell-Cafe at haskell.org

-------------- 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