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 <[email protected]> wrote: From: Heinrich Apfelmus <[email protected]> Subject: [Haskell-cafe] Re: Overriding a Prelude function? To: [email protected] 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 [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
