ty-0.1.6: Typed type representations and equality proofs

Stabilityexperimental
Maintainerconal@conal.net
Safe HaskellNone

Data.IsTy

Description

Type class for typed type representations

Synopsis

Documentation

class IsTy f whereSource

Type class for typed type representations

Associated Types

type IsTyConstraint f z :: ConstraintSource

Methods

tyEq :: (IsTyConstraint f a, IsTyConstraint f b) => f a -> f b -> Maybe (a :=: b)Source

Instances

class IsTy2 f whereSource

Type class for typed type representations

Associated Types

type IsTy2Constraint f u v :: ConstraintSource

Methods

tyEq2 :: (IsTy2Constraint f a b, IsTy2Constraint f c d) => f a b -> f c d -> Maybe ((a, b) :=: (c, d))Source

class Yes f a Source

Instances

Yes f a 

class Yes2 f a b Source

Instances

Yes2 f a b