I've been trying to generate an infinite list of random coin flips in GHC
6.4, and I've come across some strange behavior:
--
import System.Random
data Coin = H | T deriving (Eq, Show)
-- Generate a random coin flip.
coinFlip :
Echo Nolan <[EMAIL PROTECTED]> writes:
> Hello all,
> I recently read the post about a problem using the list monad,
> and I was wondering if there was an archive of monad usecases. If there
> is one, I'd like to see it, and if not it'd be a helpful part of the
> haskell community. Something