| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Constructors.EqC
Documentation
Methods
eqConstr :: a -> a -> Bool Source #
Compare the outermost constructor for a datatype.
Instances should satisfy eqConstr (C a) (K b) = True iff C=K
eqConstr :: Data a => a -> a -> Bool Source #
Compare the outermost constructor for a datatype.
Instances should satisfy eqConstr (C a) (K b) = True iff C=K