Skip to content

Commit addf2a2

Browse files
committed
GHC 9.6
1 parent a832013 commit addf2a2

26 files changed

Lines changed: 90 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
ghc: [9.2.8, 9.4.7]
14+
ghc: [9.2.8, 9.4.7, 9.6.7]
1515
compiler: [gcc]
1616
index-state: [2025-04-14T00:00:00Z]
1717
runs-on: 32-core-ubuntu

cabal.project

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ tests: True
2020
-- necessary to use a haskeline <0.8 with GHCs that ship with base >= 4.14
2121
allow-newer: haskeline:base
2222

23-
-- https://github.com/TomMD/entropy/issues/75
24-
constraints: entropy < 0.4.1.9
25-
2623
package fb-util
2724
flags: +folly
2825

glean.cabal.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ common deps
156156
random,
157157
regex-base,
158158
regex-pcre,
159-
base >=4.11.1 && <4.18,
159+
base >=4.11.1 && <4.19,
160160
array ^>=0.5.2.0,
161161
async ^>=2.2.1,
162162
attoparsec >=0.13.2.3 && <0.15,
@@ -167,22 +167,22 @@ common deps
167167
text >=1.2.3.0 && < 2.2,
168168
bytestring >=0.10.8.2 && <0.12,
169169
vector >=0.12.0.1 && <0.14,
170-
transformers ^>=0.5.6.2,
170+
transformers >= 0.5.6 && < 0.7,
171171
network-uri ^>=2.6.1.0,
172172
stm ^>=2.5.0.0,
173173
directory ^>=1.3.1.5,
174174
filepath ^>=1.4.2,
175175
exceptions ^>=0.10.0,
176-
mtl ^>=2.2.2,
177-
unix ^>=2.7.2.2,
176+
mtl >= 2.2.2 && < 2.4,
177+
unix >= 2.7.2.2 && < 2.9,
178178
process ^>=1.6.3.0,
179179
prettyprinter >=1.2.1 && <1.8,
180180
time >=1.8.0.2 && <1.13,
181181
binary ^>=0.8.5.1,
182182
deepseq ^>=1.4.3.0,
183183
hashable >=1.2.7.0 && <1.6,
184184
tar ^>=0.5.1.0,
185-
ghc-prim >=0.5.2.0 && <0.10,
185+
ghc-prim >=0.5.2.0 && <0.11,
186186
parsec ^>=3.1.13.0,
187187
haxl >= 2.1.2.0 && < 2.6,
188188
hinotify ^>= 0.4.1

glean/db/Glean/Database/Env.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
module Glean.Database.Env ( withDatabases ) where
1010

11+
import Prelude hiding (liftA2)
12+
1113
import Control.Applicative (liftA2)
1214
import Control.Concurrent
1315
import Control.Concurrent.Async (async, waitEither, withAsync)

glean/db/Glean/Query/Codegen.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module Glean.Query.Codegen
1818
) where
1919

2020
import Control.Exception
21+
import Control.Monad
2122
import Control.Monad.Extra (whenJust)
2223
import Control.Monad.State
2324
import Data.Bifunctor (bimap)

glean/db/Glean/Query/Flatten.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module Glean.Query.Flatten
1010
( flatten
1111
) where
1212

13+
import Control.Monad
1314
import Control.Monad.Except
1415
import Control.Monad.State
1516
import Data.List hiding (intersect)

glean/db/Glean/Query/Opt.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module Glean.Query.Opt
1010
( optimise
1111
) where
1212

13+
import Control.Monad
1314
import Control.Monad.Except
1415
import Control.Monad.State.Strict
1516
import qualified Data.ByteString as B

glean/db/Glean/Query/Reorder.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module Glean.Query.Reorder
1313
) where
1414

1515
import Control.Applicative ((<|>))
16+
import Control.Monad
1617
import Control.Monad.Except
1718
import Control.Monad.State.Strict
1819
import Data.Foldable (find, toList)

glean/db/Glean/Query/Transform.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ module Glean.Query.Transform
2424
, defaultValue
2525
) where
2626

27+
import Control.Monad
28+
#if MIN_VERSION_mtl(2,3,1)
29+
import Control.Monad.Cont hiding (label)
30+
#else
2731
import Control.Monad.Cont
32+
#endif
2833
import Data.Bifoldable
2934
import Data.Bifunctor (bimap)
3035
import qualified Data.ByteString as ByteString

glean/db/Glean/Query/Typecheck.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module Glean.Query.Typecheck
2525
, UseOfNegation(..)
2626
) where
2727

28+
import Control.Monad
2829
import Control.Applicative ((<|>))
2930
import Control.Monad.Except
3031
import Control.Monad.State

0 commit comments

Comments
 (0)