haskell / mwc-random

A very fast Haskell library for generating high quality pseudo-random numbers.
http://hackage.haskell.org/package/mwc-random
BSD 2-Clause "Simplified" License
55 stars 25 forks source link

Documentation is incorrect #34

Closed idontgetoutmuch closed 10 years ago

idontgetoutmuch commented 10 years ago

On http://hackage.haskell.org/package/mwc-random-0.13.2.0/docs/System-Random-MWC.html#v:uniform

vs <- withSystemRandom . asGenST $ \gen -> uniformVector gen 100

should be

 vs <- withSystemRandom $ asGenST $ \gen -> uniformVector gen 100
bos commented 10 years ago

No, the documentation is correct.