ascii-cows-0.0.1.0: A collection of ASCII cows. Moo.

Safe HaskellNone
LanguageHaskell2010

Cows

Synopsis

Documentation

type Cow = Text Source #

allCows :: [Text] Source #

All the cows!

randomCow :: RVar Cow Source #

Get a random cow from a uniform distribution.

import Data.Random.RVar (runRVar)
import Data.Random.Source.DevRandom( DevRandom( DevURandom ) )
import qualified Data.Text.IO as TIO
runRVar randomCow DevURandom
TIO.putStrLn =<< runRVar randomCow DevURandom