io.github.martinhh.derived.extras.union

Members list

Type members

Classlikes

case class InstanceWrapper[TC[_], A](instance: TC[A])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object arbitrary

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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
arbitrary.type
object cogen

Public "API-entry-point" for derivation of Cogen-instances only for union types.

Public "API-entry-point" for derivation of Cogen-instances only for union types.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
cogen.type
object scalacheck

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

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

This does not provide derivation of Shrink-instances as that might not always be desired. You can opt in to derivation of Shrink-instances via shrink.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
scalacheck.type
object shrink

Public "API-entry-point" for derivation of Shrink-instances only for union types.

Public "API-entry-point" for derivation of Shrink-instances only for union types.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
shrink.type