Object/Class

nyaya.gen

Gen

Related Docs: class Gen | package gen

Permalink

object Gen extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Gen
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Freq[A] = (Int, Gen[A])

    Permalink

    Int = Probability of being chosen.

    Int = Probability of being chosen. ≥ 0

  2. final class GenCharExt extends AnyVal

    Permalink
  3. final case class Now(millisSinceEpoch: Long) extends AnyVal with Product with Serializable

    Permalink
  4. type Run[+A] = (GenCtx) ⇒ A

    Permalink
  5. final case class ToNonEmptySeq[S, A](toSeq: (S) ⇒ Seq[A]) extends AnyVal with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Now extends Serializable

    Permalink
  5. object ToNonEmptySeq extends Serializable

    Permalink
  6. implicit def _GenCharExt(g: Gen[Char]): GenCharExt

    Permalink
    Annotations
    @inline()
  7. val alpha: Gen[Char]

    Permalink
  8. val alphaNumeric: Gen[Char]

    Permalink
  9. def apply2[A, B, Z](z: (A, B) ⇒ Z)(A: Gen[A], B: Gen[B]): Gen[Z]

    Permalink
  10. def apply3[A, B, C, Z](z: (A, B, C) ⇒ Z)(A: Gen[A], B: Gen[B], C: Gen[C]): Gen[Z]

    Permalink
  11. def apply4[A, B, C, D, Z](z: (A, B, C, D) ⇒ Z)(A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D]): Gen[Z]

    Permalink
  12. def apply5[A, B, C, D, E, Z](z: (A, B, C, D, E) ⇒ Z)(A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E]): Gen[Z]

    Permalink
  13. def apply6[A, B, C, D, E, F, Z](z: (A, B, C, D, E, F) ⇒ Z)(A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F]): Gen[Z]

    Permalink
  14. def apply7[A, B, C, D, E, F, G, Z](z: (A, B, C, D, E, F, G) ⇒ Z)(A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F], G: Gen[G]): Gen[Z]

    Permalink
  15. def apply8[A, B, C, D, E, F, G, H, Z](z: (A, B, C, D, E, F, G, H) ⇒ Z)(A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F], G: Gen[G], H: Gen[H]): Gen[Z]

    Permalink
  16. def apply9[A, B, C, D, E, F, G, H, I, Z](z: (A, B, C, D, E, F, G, H, I) ⇒ Z)(A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F], G: Gen[G], H: Gen[H], I: Gen[I]): Gen[Z]

    Permalink
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. val ascii: Gen[Char]

    Permalink
  19. val boolean: Gen[Boolean]

    Permalink
  20. def byName[A](ga: ⇒ Gen[A]): Gen[A]

    Permalink
  21. def byNeed[A](ga: ⇒ Gen[A]): Gen[A]

    Permalink
  22. def byte: Gen[Byte]

    Permalink
  23. def char: Gen[Char]

    Permalink

    An alias for unicode, as unicode is the default.

    An alias for unicode, as unicode is the default.

    Annotations
    @inline()
  24. def choose[A](a: A, as: A*): Gen[A]

    Permalink
  25. def chooseArray_![A](as: Array[A]): Gen[A]

    Permalink

    Randomly selects one of the given elements.

    Randomly selects one of the given elements.

    as

    Possible elements. MUST NOT BE EMPTY.

  26. def chooseChar(nonEmptinessProof: Char, s: String, rs: NumericRange[Char]*): Gen[Char]

    Permalink
  27. def chooseChar(nonEmptinessProof: Char, rs: NumericRange[Char]*): Gen[Char]

    Permalink
  28. def chooseChar_!(rs: NumericRange[Char]*): Gen[Char]

    Permalink
  29. def chooseChar_!(s: String, rs: NumericRange[Char]*): Gen[Char]

    Permalink
  30. def chooseDouble(l: Double, h: Double): Gen[Double]

    Permalink

    Args are inclusive.

    Args are inclusive. [l,h]

  31. def chooseFloat(l: Float, h: Float): Gen[Float]

    Permalink

    Args are inclusive.

    Args are inclusive. [l,h]

  32. def chooseGen[A](g1: Gen[A], gn: Gen[A]*): Gen[A]

    Permalink
  33. def chooseGenNE[S, G, A](s: S)(implicit ne: ToNonEmptySeq[S, G], g: <:<[G, Gen[A]]): Gen[A]

    Permalink
  34. def chooseGen_![A](gens: TraversableOnce[Gen[A]]): Gen[A]

    Permalink
  35. def chooseIndexed_![A](as: IndexedSeq[A]): Gen[A]

    Permalink

    Randomly selects one of the given elements.

    Randomly selects one of the given elements.

    as

    Possible elements. MUST NOT BE EMPTY.

  36. def chooseInt(l: Int, h: Int): Gen[Int]

    Permalink

    Args are inclusive.

    Args are inclusive. [l,h]

  37. def chooseInt(bound: Int): Gen[Int]

    Permalink

    Generate an int ∈ [0,bound).

    Generate an int ∈ [0,bound).

    bound

    Upper-bound (exclusive). > 0

  38. def chooseLong(l: Long, h: Long): Gen[Long]

    Permalink

    Args are inclusive.

    Args are inclusive. [l,h]

  39. def chooseLong(bound: Long): Gen[Long]

    Permalink

    Generate a long ∈ [0,bound).

    Generate a long ∈ [0,bound).

    bound

    Upper-bound (exclusive). > 0

  40. def chooseNE[S, A](s: S)(implicit ne: ToNonEmptySeq[S, A]): Gen[A]

    Permalink
  41. val chooseSize: Gen[Int]

    Permalink

    Returns a number in [0,GenSize)

  42. val chooseSizeMin1: Gen[Int]

    Permalink

    Returns a number in [1,GenSize)

  43. def choose_![A](as: TraversableOnce[A]): Gen[A]

    Permalink

    Randomly selects one of the given elements.

    Randomly selects one of the given elements.

    as

    Possible elements. MUST NOT BE EMPTY.

  44. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def dateTime(implicit genNow: Gen[Now]): DateTimeBuilder

    Permalink
  46. def distribute[F[_], B](a: Gen[F[B]])(implicit D: Distributive[F]): F[Gen[B]]

    Permalink
  47. def distributeK[F[_], A, B](a: Gen[Kleisli[F, A, B]])(implicit D: Distributive[F]): Kleisli[F, A, Gen[B]]

    Permalink
  48. def distributeR[A, B](a: Gen[(A) ⇒ B]): (A) ⇒ Gen[B]

    Permalink
  49. def distributeRK[A, B](a: Gen[(A) ⇒ B]): Kleisli[Gen, A, B]

    Permalink
  50. val double: Gen[Double]

    Permalink
  51. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  52. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  53. def fairlyDistributed[A](as: Traversable[A]): Gen[Iterator[A]]

    Permalink

    Ensures that an element is never chosen more than once per n elements.

    Ensures that an element is never chosen more than once per n elements.

    fairlyDistributedSeq(1, 2, 3)(6) may return [1,3,2,2,1,3] or [3,2,1,3,2,1] but never [1,1,1,1,2,3].

  54. def fairlyDistributedSeq[A](as: Traversable[A])(implicit ss: SizeSpec): Gen[Vector[A]]

    Permalink

    Ensures that an element is never chosen more than once per n elements.

    Ensures that an element is never chosen more than once per n elements.

    fairlyDistributedSeq(1, 2, 3)(6) may return [1,3,2,2,1,3] or [3,2,1,3,2,1] but never [1,1,1,1,2,3].

  55. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  56. def float: Gen[Float]

    Permalink
  57. def frequency[A](x: Freq[A], xs: Freq[A]*): Gen[A]

    Permalink
  58. def frequencyL_![A](xs: List[Freq[A]]): Gen[A]

    Permalink
  59. def frequencyNE[S, F, A](s: S)(implicit ne: ToNonEmptySeq[S, F], f: <:<[Seq[F], Seq[Freq[A]]]): Gen[A]

    Permalink
  60. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  61. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  62. val int: Gen[Int]

    Permalink
  63. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  64. def lazily[A](ga: ⇒ Gen[A]): Gen[A]

    Permalink
    Annotations
    @inline()
  65. def lift2[A, B, Z](A: Gen[A], B: Gen[B])(z: (A, B) ⇒ Z): Gen[Z]

    Permalink
    Annotations
    @inline()
  66. def lift3[A, B, C, Z](A: Gen[A], B: Gen[B], C: Gen[C])(z: (A, B, C) ⇒ Z): Gen[Z]

    Permalink
    Annotations
    @inline()
  67. def lift4[A, B, C, D, Z](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D])(z: (A, B, C, D) ⇒ Z): Gen[Z]

    Permalink
    Annotations
    @inline()
  68. def lift5[A, B, C, D, E, Z](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E])(z: (A, B, C, D, E) ⇒ Z): Gen[Z]

    Permalink
    Annotations
    @inline()
  69. def lift6[A, B, C, D, E, F, Z](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F])(z: (A, B, C, D, E, F) ⇒ Z): Gen[Z]

    Permalink
    Annotations
    @inline()
  70. def lift7[A, B, C, D, E, F, G, Z](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F], G: Gen[G])(z: (A, B, C, D, E, F, G) ⇒ Z): Gen[Z]

    Permalink
    Annotations
    @inline()
  71. def lift8[A, B, C, D, E, F, G, H, Z](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F], G: Gen[G], H: Gen[H])(z: (A, B, C, D, E, F, G, H) ⇒ Z): Gen[Z]

    Permalink
    Annotations
    @inline()
  72. def lift9[A, B, C, D, E, F, G, H, I, Z](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F], G: Gen[G], H: Gen[H], I: Gen[I])(z: (A, B, C, D, E, F, G, H, I) ⇒ Z): Gen[Z]

    Permalink
    Annotations
    @inline()
  73. val long: Gen[Long]

    Permalink
  74. val lower: Gen[Char]

    Permalink
  75. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  76. val negativeDouble: Gen[Double]

    Permalink
  77. def negativeFloat: Gen[Float]

    Permalink
  78. val negativeInt: Gen[Int]

    Permalink
  79. val negativeLong: Gen[Long]

    Permalink
  80. def newOrOld[A](newGen: ⇒ Gen[A], old: ⇒ TraversableOnce[A]): Gen[A]

    Permalink

    Randomly either generates a new value, or chooses one from a known set.

  81. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  82. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  83. val numeric: Gen[Char]

    Permalink
  84. def orderedSeq[A](orderedElems: Traversable[A], maxDups: Int, dropElems: Boolean = true, emptyResult: Boolean = true): Gen[Vector[A]]

    Permalink

    Generates a sequence of elements in a fixed order.

    Generates a sequence of elements in a fixed order.

    Example: [a,b,c] can generate [a,b,c], [a,b,b,b,c,c], etc. but never [b,a,c].

    orderedElems

    Legal elements in a relevant order.

    maxDups

    The maximum number of consecutive, duplicate elements (can be 0).

    dropElems

    Whether or not the generator can drop elements. (eg. drop b and return [a,c])

    emptyResult

    Whether or not the generator can return an empty vector as a result.

  85. def point[A](a: ⇒ A): Gen[A]

    Permalink
  86. val positiveDouble: Gen[Double]

    Permalink
  87. def positiveFloat: Gen[Float]

    Permalink
  88. val positiveInt: Gen[Int]

    Permalink
  89. val positiveLong: Gen[Long]

    Permalink
  90. def pure[A](a: A): Gen[A]

    Permalink
  91. lazy val reseed: Gen[Unit]

    Permalink

    Apply a new, non-deterministic seed.

  92. implicit val scalazInstance: Monad[Gen] with Distributive[Gen] with BindRec[Gen]

    Permalink
  93. def sequence[T[X] <: TraversableOnce[X], A](gs: T[Gen[A]])(implicit cbf: CanBuildFrom[T[Gen[A]], A, T[A]]): Gen[T[A]]

    Permalink
    Annotations
    @inline()
  94. def sequenceZ[T[_], A](gs: T[Gen[A]])(implicit T: Traverse[T]): Gen[T[A]]

    Permalink
  95. def setConstSeed(seed: Long): Gen[Unit]

    Permalink
  96. def setOptionalConstSeed(o: Option[Long]): Gen[Unit]

    Permalink
  97. def setOptionalSeed(o: Option[Long]): Gen[Unit]

    Permalink
  98. def setSeed(seed: Long): Gen[Unit]

    Permalink
  99. def setSeedBy(f: (SeedCtx) ⇒ Long): Gen[Unit]

    Permalink
  100. def short: Gen[Short]

    Permalink
  101. def shuffle[A, C[X] <: TraversableOnce[X]](as: C[A])(implicit bf: CanBuildFrom[C[A], A, C[A]]): Gen[C[A]]

    Permalink
    Annotations
    @inline()
  102. def string(implicit ss: SizeSpec): Gen[String]

    Permalink
  103. def string1(implicit ss: SizeSpec): Gen[String]

    Permalink
  104. def stringOf(cs: Gen[Char])(implicit ss: SizeSpec): Gen[String]

    Permalink
  105. def stringOf1(cs: Gen[Char])(implicit ss: SizeSpec): Gen[String]

    Permalink
  106. def subset[A, C[X] <: TraversableOnce[X]](as: C[A])(implicit bf: CanBuildFrom[Nothing, A, C[A]]): Gen[C[A]]

    Permalink
    Annotations
    @inline()
  107. def subset1[A, C[X] <: IndexedSeq[X]](as: C[A])(implicit bf: CanBuildFrom[Nothing, A, C[A]]): Gen[C[A]]

    Permalink

    Generates a non-empty subset, unless the underlying seq is empty (in which case this returns an empty seq too).

    Generates a non-empty subset, unless the underlying seq is empty (in which case this returns an empty seq too).

    Annotations
    @inline()
  108. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  109. def tailrec[A, B](f: (A) ⇒ Gen[Either[A, B]])(a: A): Gen[B]

    Permalink
  110. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  111. def traverse[T[X] <: TraversableOnce[X], A, B](as: T[A])(f: (A) ⇒ Gen[B])(implicit cbf: CanBuildFrom[T[A], B, T[B]]): Gen[T[B]]

    Permalink
  112. def traverseG[T[X] <: TraversableOnce[X], A, B](gs: T[Gen[A]])(f: (A) ⇒ Gen[B])(implicit cbf: CanBuildFrom[T[Gen[A]], B, T[B]]): Gen[T[B]]

    Permalink
  113. def traverseZ[T[_], A, B](as: T[A])(f: (A) ⇒ Gen[B])(implicit T: Traverse[T]): Gen[T[B]]

    Permalink
  114. def traverseZG[T[_], A, B](gs: T[Gen[A]])(f: (A) ⇒ Gen[B])(implicit T: Traverse[T]): Gen[T[B]]

    Permalink
  115. def tryChoose[A](as: TraversableOnce[A]): Gen[Option[A]]

    Permalink
  116. def tryGenChoose[A](as: TraversableOnce[A]): Option[Gen[A]]

    Permalink
  117. def tryGenChooseLazily[A](as: TraversableOnce[A]): Option[Gen[A]]

    Permalink
  118. def tuple2[A, B](A: Gen[A], B: Gen[B]): Gen[(A, B)]

    Permalink
  119. def tuple3[A, B, C](A: Gen[A], B: Gen[B], C: Gen[C]): Gen[(A, B, C)]

    Permalink
  120. def tuple4[A, B, C, D](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D]): Gen[(A, B, C, D)]

    Permalink
  121. def tuple5[A, B, C, D, E](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E]): Gen[(A, B, C, D, E)]

    Permalink
  122. def tuple6[A, B, C, D, E, F](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F]): Gen[(A, B, C, D, E, F)]

    Permalink
  123. def tuple7[A, B, C, D, E, F, G](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F], G: Gen[G]): Gen[(A, B, C, D, E, F, G)]

    Permalink
  124. def tuple8[A, B, C, D, E, F, G, H](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F], G: Gen[G], H: Gen[H]): Gen[(A, B, C, D, E, F, G, H)]

    Permalink
  125. def tuple9[A, B, C, D, E, F, G, H, I](A: Gen[A], B: Gen[B], C: Gen[C], D: Gen[D], E: Gen[E], F: Gen[F], G: Gen[G], H: Gen[H], I: Gen[I]): Gen[(A, B, C, D, E, F, G, H, I)]

    Permalink
  126. val unicode: Gen[Char]

    Permalink
  127. def unit: Gen[Unit]

    Permalink
  128. val upper: Gen[Char]

    Permalink
  129. def uuid: Gen[UUID]

    Permalink
  130. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  131. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  132. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  133. lazy val zoneId: Gen[ZoneId]

    Permalink

    Caution: non-deterministic

Deprecated Value Members

  1. def alphaNumericString(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.alphaNumeric.string

  2. def alphaNumericString1(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.alphaNumeric.string1

  3. def alphaNumerics(implicit ss: SizeSpec): Gen[List[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.alphaNumeric.list.

  4. def alphaNumerics1(implicit ss: SizeSpec): Gen[NonEmptyList[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.alphaNumeric.nel or Gen.alphaNumeric.list1.

  5. def alphaString(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.alpha.string

  6. def alphaString1(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.alpha.string1

  7. def alphas(implicit ss: SizeSpec): Gen[List[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.alpha.list.

  8. def alphas1(implicit ss: SizeSpec): Gen[NonEmptyList[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.alpha.nel or Gen.alpha.list1.

  9. def asciiString(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.ascii.string

  10. def asciiString1(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.ascii.string1

  11. def charOf(ev: Char, s: String, rs: NumericRange[Char]*): Gen[Char]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.chooseChar.

  12. def chars(implicit ss: SizeSpec): Gen[List[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.char.list.

  13. def chars1(implicit ss: SizeSpec): Gen[NonEmptyList[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.char.nel or Gen.char.list1.

  14. def frequencyL[A](xs: NonEmptyList[Freq[A]]): Gen[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.1) Replace with Gen.frequencyNE.

  15. def insert[A](a: A): Gen[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.pure.

  16. def lowerString(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.lower.string

  17. def lowerString1(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.lower.string1

  18. def lowers(implicit ss: SizeSpec): Gen[List[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.lower.list.

  19. def lowers1(implicit ss: SizeSpec): Gen[NonEmptyList[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.lower.nel or Gen.lower.list1.

  20. def numericString(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.numeric.string

  21. def numericString1(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.numeric.string1

  22. def numerics(implicit ss: SizeSpec): Gen[List[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.numeric.list.

  23. def numerics1(implicit ss: SizeSpec): Gen[NonEmptyList[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.numeric.nel or Gen.numeric.list1.

  24. def oneOf[A](a: A, as: A*): Gen[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.choose.

  25. def oneOfG[A](a: Gen[A], as: Gen[A]*): Gen[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.chooseGen.

  26. def oneOfGL[A](gs: NonEmptyList[Gen[A]]): Gen[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.chooseGenNE.

  27. def oneOfL[A](x: NonEmptyList[A]): Gen[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.chooseNE(nel).

  28. def oneOfO[A](as: Seq[A]): Option[Gen[A]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.tryGenChoose.

  29. def oneOfSeq[A](as: Seq[A]): Gen[Option[A]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.tryChoose.

  30. def oneOfV[A](x: OneAnd[Vector, A]): Gen[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.chooseNE.

  31. def pair[A, B](A: Gen[A], B: Gen[B]): Gen[(A, B)]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with a pair b or Gen.tuple2.

  32. def sequencePair[X, A](x: X, r: Gen[A]): Gen[(X, A)]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with g strengthL l.

  33. def triple[A, B, C](A: Gen[A], B: Gen[B], C: Gen[C]): Gen[(A, B, C)]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.tuple3.

  34. def unicodeString(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.unicode.string

  35. def unicodeString1(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.unicode.string1

  36. def upperString(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.upper.string

  37. def upperString1(implicit ss: SizeSpec): Gen[String]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.upper.string1

  38. def uppers(implicit ss: SizeSpec): Gen[List[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.upper.list.

  39. def uppers1(implicit ss: SizeSpec): Gen[NonEmptyList[Char]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Replace with Gen.upper.nel or Gen.upper.list1.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped