Skip to content

Commit 7bbbdc5

Browse files
committed
GHC 9.6
1 parent 35bc91b commit 7bbbdc5

25 files changed

Lines changed: 92 additions & 31 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: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@ 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
-- develop with -Werror on, for consistency with internal Meta CI.
2724
program-options
28-
ghc-options: -Werror -Wwarn=dodgy-imports
25+
ghc-options: -Werror
2926

3027
package fb-util
3128
flags: +folly

glean.cabal.in

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

glean/db/Glean/Database/Env.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

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

11-
import Control.Applicative (liftA2)
11+
import Control.Applicative
1212
import Control.Concurrent
1313
import Control.Concurrent.Async (async, waitEither, withAsync)
1414
import Control.Exception.Safe

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
@@ -25,7 +25,12 @@ module Glean.Query.Transform
2525
, defaultValue
2626
) where
2727

28+
import Control.Monad
29+
#if MIN_VERSION_mtl(2,3,1)
30+
import Control.Monad.Cont hiding (label)
31+
#else
2832
import Control.Monad.Cont
33+
#endif
2934
import Data.Bifoldable
3035
import Data.Bifunctor (bimap)
3136
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)