- Change RandomizedMonad to bind by threading a single RandomGen instead of
authorMatt McCutchen <matt@mattmccutchen.net>
Sat, 2 Aug 2008 01:06:17 +0000 (21:06 -0400)
committerMatt McCutchen <matt@mattmccutchen.net>
Sat, 2 Aug 2008 01:06:17 +0000 (21:06 -0400)
commit0df1b3e1f3f98db39ed9aea22746fe9df77bf9c5
tree6387874a32a4175c780aff9170e0c10f25cf28b3
parentbc14b3b3a9345cb74bc7d8f3808a1d8cdd0bf479
- Change RandomizedMonad to bind by threading a single RandomGen instead of
splitting the RandomGen.  Threading satisfies the monad laws, and the
parallelizability and evolvability of splitting can still be explicitly
requested via `msplit'.  I think this is a much more logical design!

- Take the opportunity to flesh out independent-list offerings and add comments.
program/RandomizedMonad.hs