scalacheck

io.github.martinhh.derived.extras.literal.scalacheck

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

(No derivation for Shrink is provided because there is no sense in shrinking single-value types.)

Attributes

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

Members list

Givens

Inherited givens

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

Attributes

Inherited from:
LiteralArbitraries
given cogenLiteral[A : ValueOf]: Cogen[A]

Attributes

Inherited from:
LiteralCogens