packages feed

probability 0.2.5.1 → 0.2.5.2

raw patch · 2 files changed

+10/−10 lines, 2 filesdep ~containersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: containers

API changes (from Hackage documentation)

Files

probability.cabal view
@@ -1,5 +1,5 @@ Name:               probability-Version:            0.2.5.1+Version:            0.2.5.2 License:            BSD3 License-File:       COPYRIGHT Author:             Martin Erwig <erwig@eecs.oregonstate.edu>, Steve Kollmansberger@@ -28,7 +28,7 @@ Source-Repository this   type:     darcs   location: http://code.haskell.org/~thielema/probability/-  tag:      0.2.5.1+  tag:      0.2.5.2   Flag splitBase@@ -40,7 +40,7 @@     transformers >=0.0.1 && <0.6   If flag(splitBase)     Build-Depends:-      containers >=0.1 && <0.6,+      containers >=0.1 && <0.7,       random >=1.0 && <2,       base >=2 && <5   Else
src/Numeric/Probability/Example/Kruskal.hs view
@@ -1,16 +1,16 @@ {- |-Given a row of n (~50) dice and-two players starting with a random dice within the first m (~5) dice.-Every player moves along the row, according the pips on the dice.+Given a row of n (~50) dice,+two players start with a random dice within the first m (~5) dice.+Every player moves along the row, according to the pips on the dice. They stop if a move would exceed the row. What is the probability that they stop at the same die? (It is close to one.) -Wuerfelschlange (german)-http://faculty.uml.edu/rmontenegro/research/kruskal_count/kruskal.html+Kruskal's trick:+<http://faculty.uml.edu/rmontenegro/research/kruskal_count/kruskal.html> -Kruskal's trick-http://www.math.de/exponate/wuerfelschlange.html/+Wuerfelschlange (german):+<http://www.math.de/exponate/wuerfelschlange.html/> -} module Numeric.Probability.Example.Kruskal where