Safe Haskell | None |
---|
Provides typeclasses for clocks and randomizer environments
Documentation
class (Functor m, Monad m) => ChClock m whereSource
Typeclass for all monads that know the time
ChClock IO | |
ChClock m0 => ChClock (HandleCloserT m0) | |
ChClock m0 => ChClock (InRedirT m0) | |
ChClock m0 => ChClock (QuietT m0) | |
ChClock m0 => ChClock (HereStringT m0) | |
ChClock m0 => ChClock (ScannerBufferT m0) | |
ChClock m0 => ChClock (RecorderT m0) | |
ChClock m0 => ChClock (OutRedirT m0) | |
ChClock m0 => ChClock (DeafT m0) | |
ChClock m0 => ChClock (SpawnOverlayT m0) | |
ChClock m0 => ChClock (JoinerT m0) | |
ChClock m0 => ChClock (HandleFilterT m0) | |
ChClock m0 => ChClock (BoolFilterT m0) | |
ChClock m0 => ChClock (IntFilterT m0) | |
ChClock m0 => ChClock (HandleArchiverT m0) | |
ChClock m0 => ChClock (BoolArchiverT m0) | |
ChClock m0 => ChClock (IntArchiverT m0) | |
ChClock m0 => ChClock (NullExpanderT m0) | |
ChClock m0 => ChClock (ExpanderT m0) | |
ChClock m0 => ChClock (HistoryT m0) | |
ChClock m0 => ChClock (HtmlPrinterT m0) | |
ChClock m0 => ChClock (AnsiPrinterT m0) |
class Monad m => ChRandom m whereSource
Typeclass for all monads that may provide random numbers
mrandom :: Random r => m rSource
Get a single random number
mrandomR :: Random r => (r, r) -> m rSource
Get a single random number in the given range
ChRandom IO | |
ChRandom m0 => ChRandom (HandleCloserT m0) | |
ChRandom m0 => ChRandom (InRedirT m0) | |
ChRandom m0 => ChRandom (QuietT m0) | |
ChRandom m0 => ChRandom (HereStringT m0) | |
ChRandom m0 => ChRandom (ScannerBufferT m0) | |
ChRandom m0 => ChRandom (RecorderT m0) | |
ChRandom m0 => ChRandom (OutRedirT m0) | |
ChRandom m0 => ChRandom (DeafT m0) | |
ChRandom m0 => ChRandom (SpawnOverlayT m0) | |
ChRandom m0 => ChRandom (JoinerT m0) | |
ChRandom m0 => ChRandom (HandleFilterT m0) | |
ChRandom m0 => ChRandom (BoolFilterT m0) | |
ChRandom m0 => ChRandom (IntFilterT m0) | |
ChRandom m0 => ChRandom (HandleArchiverT m0) | |
ChRandom m0 => ChRandom (BoolArchiverT m0) | |
ChRandom m0 => ChRandom (IntArchiverT m0) | |
ChRandom m0 => ChRandom (NullExpanderT m0) | |
ChRandom m0 => ChRandom (ExpanderT m0) | |
ChRandom m0 => ChRandom (HistoryT m0) | |
ChRandom m0 => ChRandom (HtmlPrinterT m0) | |
ChRandom m0 => ChRandom (AnsiPrinterT m0) |