Skip to content

Commit 39bbeda

Browse files
committed
Fix for GHC 9.0
From release notes: Breaking change: Template Haskell splices now act as separation points between constraint solving passes. It is no longer possible to use an instance of a class before a splice and define that instance after a splice. https://downloads.haskell.org/ghc/9.0.1/docs/html/users_guide/9.0.1-notes.html
1 parent a38ac15 commit 39bbeda

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Language/Elm/Expression.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ bind global var expression =
9494
bind (fmap F . global) (unvar (pure . B) (fmap F . var)) .
9595
fromScope
9696

97-
deriving instance Eq v => Eq (Expression v)
98-
deriving instance Ord v => Ord (Expression v)
99-
deriving instance Show v => Show (Expression v)
100-
10197
deriveEq1 ''Expression
10298
deriveOrd1 ''Expression
10399
deriveShow1 ''Expression
104100

101+
deriving instance Eq v => Eq (Expression v)
102+
deriving instance Ord v => Ord (Expression v)
103+
deriving instance Show v => Show (Expression v)
104+
105105
instance IsString (Expression v) where
106106
fromString = Global . fromString
107107

0 commit comments

Comments
 (0)