witness-0.1: values that witness types

Data.Witness.Any

Synopsis

Documentation

data Any w Source

Any value with a witness to it.

Constructors

forall a . MkAny (w a) a 

matchAny :: SimpleWitness w => w a -> Any w -> Maybe aSource

data AnyF w f Source

Any value with a witness to a parameter of its type.

Constructors

forall a . MkAnyF (w a) (f a) 

matchAnyF :: SimpleWitness w => w a -> AnyF w f -> Maybe (f a)Source

data AnyF1 w f Source

Any value with a witness to a parameter of its type of kind * -> *.

Constructors

forall a . MkAnyF1 (w a) (f a) 

data AnyF2 w f Source

Any value with a witness to a parameter of its type of kind * -> * -> *.

Constructors

forall a . MkAnyF2 (w a) (f a) 

data AnyWitness w Source

Any witness.

Constructors

forall a . MkAnyWitness (w a) 

Instances

data AnyWitness1 w Source

Any witness of a type of kind * -> *.

Constructors

forall a . MkAnyWitness1 (w a) 

data AnyWitness2 w Source

Any witness of a type of kind * -> * -> *.

Constructors

forall a . MkAnyWitness2 (w a)