[Haskell-beginners] [Haskell-cafe] select :: [(Float, a)] -> a -- Weighted stochastic selection - help?

Daniel Fischer daniel.is.fischer at web.de
Fri Sep 5 15:42:03 EDT 2008


Am Freitag, 5. September 2008 21:06 schrieb C.M.Brown:
> Some Monads (such as State and IO) allow side effects and are
> therefore not pure.

State allows side effects? How that?
>
> HTH,
> Chris.
>
> On Fri, 5 Sep 2008, Andrew Wagner wrote:
> > [snip]
> > ... in a purely functional way, i.e. no monads.
> > [snip]
> >
> > Err, what? Monads aren't purely functional?



More information about the Beginners mailing list