[Haskell-cafe] Re: Re: Re: Difference between div and /

Maciej Piechotka uzytkownik2 at gmail.com
Sat Jun 5 10:33:35 EDT 2010


On Thu, 2010-06-03 at 06:48 -0700, mokus at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100607/a9e48312/attachment.bin


More information about the Haskell-Cafe mailing list