liblawless-0.25.2: Prelude based on protolude for GHC 8 and beyond.

Copyright© 2017 All rights reserved.
LicenseGPL-3
MaintainerEvan Cofsky <evan@theunixman.com>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Random

Description

 

Synopsis

Documentation

randomR :: (Random a, MonadBase IO m) => (a, a) -> m a Source #

Generate an endless range of random numbers between [a, a] inclusive. (This is randomRIO lifted.)

random :: (Random a, MonadBase IO m) => m a Source #

Generate an endless stream of values. (This is randomIO lifted.)