RandomSignature

turbolift.effects.RandomSignature
trait RandomSignature extends Signature

Attributes

Graph
Supertypes
trait Signature
class Object
trait Matchable
class Any
Known subtypes
trait RandomEffect
object Random.type

Members list

Type members

Inherited types

type !@![A, U]

Abstract type that must be used in definitions of effect's operations.

Abstract type that must be used in definitions of effect's operations.

Becomes an alias of Computation (i.e. same as !!), once the signature is inherited from Effect.

Attributes

Inherited from:
Signature
type ThisEffect

Abstract type that must be used in definitions of effect's operations.

Abstract type that must be used in definitions of effect's operations.

Becomes an alias of this.type, once the signature is inherited from Effect.

Attributes

Inherited from:
Signature

Value members

Abstract methods

def between(minInclusive: Int, maxExclusive: Int): Int !@! ThisEffect
def between(minInclusive: Long, maxExclusive: Long): Long !@! ThisEffect
def between(minInclusive: Float, maxExclusive: Float): Float !@! ThisEffect
def between(minInclusive: Double, maxExclusive: Double): Double !@! ThisEffect
def nextBoolean: Boolean !@! ThisEffect
def nextBytes(n: Int): Array[Byte] !@! ThisEffect
def nextDouble: Double !@! ThisEffect
def nextFloat: Float !@! ThisEffect
def nextInt(n: Int): Int !@! ThisEffect
def nextLong: Long !@! ThisEffect
def nextLong(n: Long): Long !@! ThisEffect
def setSeed(seed: Long): Unit !@! ThisEffect