Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
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