coercible-subtypes-0.1.0.0: Coercible but only in one direction

Safe HaskellNone
LanguageHaskell2010

Data.Type.Coercion.Sub.Internal

Description

This module exposes internals of Data.Type.Coercion.Sub.

Using this module allows to violate the premises Sub type provides. It is advisable not to import this module if there is another way, and to limit the amount of code accesible to this module.

Documentation

newtype Sub (a :: k) (b :: k) Source #

Constructors

Sub 

Fields

Instances
Category (Sub :: k -> k -> Type) Source # 
Instance details

Defined in Data.Type.Coercion.Sub.Internal

Methods

id :: Sub a a #

(.) :: Sub b c -> Sub a b -> Sub a c #

Eq (Sub a b) Source # 
Instance details

Defined in Data.Type.Coercion.Sub.Internal

Methods

(==) :: Sub a b -> Sub a b -> Bool #

(/=) :: Sub a b -> Sub a b -> Bool #

Ord (Sub a b) Source # 
Instance details

Defined in Data.Type.Coercion.Sub.Internal

Methods

compare :: Sub a b -> Sub a b -> Ordering #

(<) :: Sub a b -> Sub a b -> Bool #

(<=) :: Sub a b -> Sub a b -> Bool #

(>) :: Sub a b -> Sub a b -> Bool #

(>=) :: Sub a b -> Sub a b -> Bool #

max :: Sub a b -> Sub a b -> Sub a b #

min :: Sub a b -> Sub a b -> Sub a b #

Show (Sub a b) Source # 
Instance details

Defined in Data.Type.Coercion.Sub.Internal

Methods

showsPrec :: Int -> Sub a b -> ShowS #

show :: Sub a b -> String #

showList :: [Sub a b] -> ShowS #