Skip to content

Commit 0722d33

Browse files
committed
Build with GHC 9.6.2
1 parent 9d8ca30 commit 0722d33

File tree

8 files changed

+10
-4
lines changed

8 files changed

+10
-4
lines changed

cabal.project

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ packages: .
33
source-repository-package
44
type: git
55
location: https://github.com/luc-tielen/llvm-codegen.git
6-
tag: 497c7c0ffad5f3e4b6f4e74550a477e75b0beb23
6+
tag: 83b04cb576208ea74ddd62016e4fa03f0df138ac
77

88
source-repository-package
99
type: git
1010
location: https://github.com/luc-tielen/souffle-haskell.git
11-
tag: bcd7e3c058c9036d8495cf114520663917b7ac81
11+
tag: e441c84f1d64890e31c92fbb278c074ae8bcaff5
1212

1313
source-repository-package
1414
type: git

lib/Eclair/EIR/Lower.hs

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module Eclair.EIR.Lower
77
import Prelude hiding (void)
88
import qualified Prelude
99
import qualified Relude (swap)
10+
import Control.Monad.Fix
1011
import Control.Monad.Morph hiding (embed)
1112
import qualified Data.ByteString as BS
1213
import qualified Data.Map as M

lib/Eclair/EIR/Lower/API.hs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module Eclair.EIR.Lower.API
88
) where
99

1010
import Prelude hiding (void)
11+
import Control.Monad.Fix
1112
import Control.Monad.Morph
1213
import Data.Traversable (for)
1314
import Data.Maybe (fromJust)

lib/Eclair/EIR/Lower/Externals.hs

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module Eclair.EIR.Lower.Externals
55
) where
66

77
import Prelude hiding (void)
8+
import Control.Monad.Fix
89
import Eclair.EIR.Lower.Codegen
910
import Eclair.LLVM.Codegen as LLVM
1011
import Eclair.Common.Config

lib/Eclair/LLVM/BTree.hs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module Eclair.LLVM.BTree
99
) where
1010

1111
import Prelude hiding (void, swap)
12+
import Control.Monad.Fix
1213
import Control.Monad.Morph
1314
import Eclair.LLVM.Codegen
1415
import Eclair.LLVM.Table

lib/Eclair/LLVM/Config.hs

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module Eclair.LLVM.Config
77

88
import qualified LLVM.C.API as LibLLVM
99
import LLVM.Codegen
10+
import Control.Monad.Fix
1011
import Control.Monad.Morph
1112
import Foreign.ForeignPtr
1213
import Foreign.Ptr

lib/Eclair/LLVM/Template.hs

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module Eclair.LLVM.Template
1414
) where
1515

1616

17+
import Control.Monad.Fix
1718
import Control.Monad.Morph
1819
import LLVM.Codegen hiding (function, typedef)
1920
import qualified LLVM.Codegen as CG

lib/Eclair/Parser.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,9 @@ betweenParens =
352352
-- In case of error, keeps parsing up to and including 'endChar'
353353
withRecovery :: Char -> Parser a -> Parser (Maybe a)
354354
withRecovery endChar p =
355-
P.withRecovery handleError $ map Just p
355+
P.withRecovery handleErr $ map Just p
356356
where
357-
handleError err = do
357+
handleErr err = do
358358
P.registerParseError err
359359
_ <- P.takeWhileP Nothing (/= endChar)
360360
_ <- P.char endChar

0 commit comments

Comments
 (0)