RandomImpl

abstract class RandomImpl[F[_]](implicit F: Monad[F], r: Random[F]) extends Random[F]
trait Random[F]
trait Random[F]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def betweenDouble(minInclusive: Double, maxExclusive: Double): F[Double]
Definition Classes
Random
override def betweenFloat(minInclusive: Float, maxExclusive: Float): F[Float]
Definition Classes
Random
override def betweenInt(minInclusive: Int, maxExclusive: Int): F[Int]
Definition Classes
Random
override def betweenLong(minInclusive: Long, maxExclusive: Long): F[Long]
Definition Classes
Random
override def nextAlphaNumeric: F[Char]
Definition Classes
Random
override def nextBoolean: F[Boolean]
Definition Classes
Random
override def nextBytes(n: Int): F[Array[Byte]]
Definition Classes
Random
override def nextDouble: F[Double]
Definition Classes
Random
override def nextFloat: F[Float]
Definition Classes
Random
override def nextGaussian: F[Double]
Definition Classes
Random
override def nextInt: F[Int]
Definition Classes
Random
override def nextIntBounded(n: Int): F[Int]
Definition Classes
Random
override def nextLong: F[Long]
Definition Classes
Random
override def nextLongBounded(n: Long): F[Long]
Definition Classes
Random
override def nextPrintableChar: F[Char]
Definition Classes
Random
override def nextString(length: Int): F[String]
Definition Classes
Random
override def printableString(length: Int): F[String]
Definition Classes
override def shuffleList[A](l: List[A]): F[List[A]]
Definition Classes
Random
override def shuffleVector[A](v: Vector[A]): F[Vector[A]]
Definition Classes
Random
override def uuid: F[UUID]
Definition Classes

Inherited methods

override def mapK[G[_]](f: FunctionK[F, G]): Random[G]

Modifies the context in which this Random operates using the natural transformation f.

Modifies the context in which this Random operates using the natural transformation f.

Returns

a Random in the new context obtained by mapping the current one using f

Definition Classes
Random -> Random
Inherited from
Random