Maintainer | (@) sagemuej $ smail.uni-koeln.de |
---|---|
Safe Haskell | Safe-Inferred |
- class Unconstrained t
- type Impossible t = HiddenEmptyClass t
Documentation
class Unconstrained t Source
Intended to be used as an argument for some type constructor which expects kind
* -> Constraint
, when you do not actually wish to constrain anything with it.
can always be added to the constraint list of any signature, without
changing anything.
Unconstrained
t
type Impossible t = HiddenEmptyClass tSource
This constraint can never be fulfilled. Might be useful e.g. as a default
for a class-associated constraint; this basically disables any method with
that constraint (so it can safely be left undefined
).