[Haskell-cafe] games of chance

Dupont Corentin corentin.dupont at gmail.com
Sun Feb 21 17:13:14 EST 2010


Thanks a lot Mark.
Corentin

On Sat, Feb 20, 2010 at 4:26 AM, Mark Wassell <mwassell at bigpond.net.au>wrote:

> Take a look at:
>
> http://hackage.haskell.org/package/probability
>
> and
>
> http://web.engr.oregonstate.edu/~erwig/pfp/<http://web.engr.oregonstate.edu/%7Eerwig/pfp/>
>
> Mark
>
>
> Dupont Corentin wrote:
>
>>
>> Hello,
>> are you aware of a framework to find probabilities in a given game of
>> chance, in Haskell?
>>
>> l would like to compute probabilities like:
>> "roll 3 dices, sum the result,  then roll 3 other dices, sum the result,
>> what is the probability to obtain the same sum?"
>>
>> Cheers,
>> Corentin
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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/20100221/b00541b6/attachment.html


More information about the Haskell-Cafe mailing list