by-other-names-1.2.3.0: Give aliases to record fields.
Safe HaskellSafe-Inferred
LanguageHaskell2010

ByOtherNames.Constraint

Synopsis

Documentation

class Top x Source #

A constraint that can always be satisfied.

Copied from the sop-core package.

Instances

Instances details
Top x Source # 
Instance details

Defined in ByOtherNames.Constraint

class x ~ Void => Impossible x Source #

A constraint that can't be satisfied.

Mostly useful with enum-like sum types to denote that they don't have fields.

Instances

Instances details
x ~ Void => Impossible x Source # 
Instance details

Defined in ByOtherNames.Constraint