arbitrary

io.github.martinhh.derived.extras.literal.arbitrary
object arbitrary extends LiteralArbitraries

Public "API-entry-point" for derivation of Arbitrary-instances for literal types.

(No derivation for Shrink is provided because there is no sense in shrinking single-value types. No derivation for Cogen is provided because the Cogen instances for the respective parent types should be sufficient.)

Attributes

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

Members list

Givens

Inherited givens

given arbLiteral[A](using v: ValueOf[A]): Arbitrary[A]

Attributes

Inherited from:
LiteralArbitraries