Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
9cf07963
Commit
9cf07963
authored
Jun 28, 2000
by
simonmar
Browse files
[project @ 2000-06-28 11:28:27 by simonmar]
add missing default case for Eq (TyClDecl name pat)
parent
a71f8523
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/hsSyn/HsDecls.lhs
View file @
9cf07963
...
@@ -185,6 +185,9 @@ instance Ord name => Eq (TyClDecl name pat) where
...
@@ -185,6 +185,9 @@ instance Ord name => Eq (TyClDecl name pat) where
eqListBy (eq_cls_sig env) sigs1 sigs2
eqListBy (eq_cls_sig env) sigs1 sigs2
)
)
(==) _ _ = False -- default case
eq_hsFD env (ns1,ms1) (ns2,ms2)
eq_hsFD env (ns1,ms1) (ns2,ms2)
= eqListBy (eq_hsVar env) ns1 ns2 && eqListBy (eq_hsVar env) ms1 ms2
= eqListBy (eq_hsVar env) ns1 ns2 && eqListBy (eq_hsVar env) ms1 ms2
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment