Copyright | (c) 2011 Patrick Bahr Tom Hvitved |
---|---|
License | BSD3 |
Maintainer | Tom Hvitved <hvitved@diku.dk> |
Stability | experimental |
Portability | non-portable (GHC Extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module defines ordering of signatures, which lifts to ordering of terms and contexts.
Documentation
class EqHF f => OrdHF f where Source #
Signature ordering. An instance OrdHF f
gives rise to an instance
Ord (Term f)
.
Orphan instances
KOrd f => Ord (E f) Source # | |
(HFunctor f, OrdHF f, KOrd a) => Ord (Cxt h f a i) Source # | Ordering of terms. |