Skip to content

Commit

Permalink
fix: Make cimple compatible with ghc 9.6.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Nov 5, 2024
1 parent 5e6b9a5 commit 112b087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Language/Cimple/Annot.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import GHC.Generics (Generic, Generic1)
import Language.Cimple.Ast (Node, NodeF)

data AnnotF attr a = Annot { attr :: attr, unAnnot :: a }
deriving (Functor, Generic, Generic1)
deriving (Show, Read, Eq, Functor, Generic, Generic1)
deriving (Show1, Read1, Eq1) via FunctorClassesDefault (AnnotF attr)

type AnnotNode lexeme = Fix (AnnotF () `Compose` NodeF lexeme)
Expand Down

0 comments on commit 112b087

Please sign in to comment.