On Thu, 2010-06-03 at 06:48 -0700, mo...@deepbondi.net wrote: > > > > On Thu, 3 Jun 2010, Maciej Piechotka wrote: > > > >> Hmm. Thanks - however I fail to figure out how to do something like: > >> > >> "generate a random number with normal distribution with average avg and > >> standard deviation stdev". > > > > Unfortunately the package is restricted to discrete distributions so far. > > Shameless self-advertisement: The random-fu package (whimsically named, > sorry) implements a modest variety of continuous distributions with what I > believe to be a user-friendly and flexible interface. > > This thread inspired me to finish up and upload the 0.1 release (just > announced on haskell-cafe as well). The public interface is slightly > different from earlier releases and the haddock docs for the new one > failed to build on hackage, but earlier versions have essentially the same > end-user interface aside from some changes in the module export lists so > if you'd like to get an idea of the basic spirit of the system you can > browse the docs for the earlier releases. Alternatively, feel free to > browse the source and steal some of the implementations (many of which > were, in turn, translated from other sources such as wikipedia or the > Numerical Recipes book). > > Unfortunately, the old documentation is much sparser and terser than the > new documentation that failed to build, but if nothing else you can > download and build the docs yourself for the new one.
I build docs anyway ;). I discovered random-fu just before 0.1 release and it have nice, monadic interface :D I guess all it lacks is something to 'just' use IO without state etc. for fast typing in ghci - otherwise is IMHO perfect. Regards
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe