Copyright | (c) Galois Inc 2014-2019 |
---|---|
Maintainer | Langston Barrett <langston@galois.com> |
Safe Haskell | Safe |
Language | Haskell98 |
This defines a class DecidableEq
, which represents decidable equality on a
type family.
This is different from GHC's TestEquality
in that it provides evidence
of non-equality. In fact, it is a superclass of TestEquality
.
Documentation
class DecidableEq f where Source #
Decidable equality.
Instances
DecidableEq BoolRepr Source # | |
DecidableEq NatRepr Source # | |
DecidableEq PeanoRepr Source # | |