Skip to content

Commit a256dc9

Browse files
HaskellZhangSongandreasabel
authored andcommitted
Derive Eq instance for HsModule
1 parent 5ee1c05 commit a256dc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Haskell/Syntax.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ data HsCName
162162
data HsModule = HsModule SrcLoc Module (Maybe [HsExportSpec])
163163
[HsImportDecl] [HsDecl]
164164
#ifdef __GLASGOW_HASKELL__
165-
deriving (Show,Typeable,Data)
165+
deriving (Eq,Show,Typeable,Data)
166166
#else
167-
deriving (Show)
167+
deriving (Eq,Show)
168168
#endif
169169

170170
-- | Export specification.

0 commit comments

Comments
 (0)