Skip to content

Commit

Permalink
Derive Eq instance for HsModule
Browse files Browse the repository at this point in the history
  • Loading branch information
HaskellZhangSong authored and andreasabel committed Feb 7, 2022
1 parent 5ee1c05 commit a256dc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Language/Haskell/Syntax.hs
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ data HsCName
data HsModule = HsModule SrcLoc Module (Maybe [HsExportSpec])
[HsImportDecl] [HsDecl]
#ifdef __GLASGOW_HASKELL__
deriving (Show,Typeable,Data)
deriving (Eq,Show,Typeable,Data)
#else
deriving (Show)
deriving (Eq,Show)
#endif

-- | Export specification.
Expand Down

0 comments on commit a256dc9

Please sign in to comment.