Randoms

kyo.randoms.Randoms
object Randoms

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Randoms.type

Members list

Type members

Types

type Effects = Envs[Random] & IOs

Value members

Concrete methods

def nextInt[S](n: Int > S): Int > S & Randoms
def nextValue[T, S](seq: Seq[T] > S): T > S & Randoms
def run[T, S](r: Random)(f: => T > Randoms & S): T > IOs & S
def run[T, S](f: => T > Randoms & S)(implicit r: Random): T > IOs & S

Concrete fields

val nextBoolean: Boolean > Randoms
val nextDouble: Double > Randoms
val nextFloat: Float > Randoms
val nextGaussian: Double > Randoms
val nextInt: Int > Randoms
val nextLong: Long > Randoms