Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
3032c5d5
Commit
3032c5d5
authored
Jun 16, 2000
by
simonmar
Browse files
[project @ 2000-06-16 08:53:10 by simonmar]
instance Eq (HsDecl name pat) : add default case
parent
cc0a715a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/hsSyn/HsDecls.lhs
View file @
3032c5d5
...
...
@@ -116,8 +116,9 @@ instance (Outputable name, Outputable pat)
instance Ord name => Eq (HsDecl name pat) where
-- Used only when comparing interfaces,
-- at which time only signature and type/class decls
(SigD s1) == (SigD s2) = s1 == s2
(SigD s1) == (SigD s2)
= s1 == s2
(TyClD d1) == (TyClD d2) = d1 == d2
_ == _ = False
\end{code}
...
...
Write
Preview
Markdown
is supported
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