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

C.M.Brown cmb21 at kent.ac.uk
Fri Sep 5 15:06:28 EDT 2008


Some Monads (such as State and IO) allow side effects and are
therefore not pure.

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?
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>


More information about the Beginners mailing list