[Haskell-cafe] Why doesn't this work?

2005-04-24 Thread Michael Vanier
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 :

Re: [Haskell-cafe] Haskell example archive?

2005-04-24 Thread Isaac Jones
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