Skip to content

Commit 2a05a7f

Browse files
committed
GHC 9.6
1 parent a42509f commit 2a05a7f

22 files changed

Lines changed: 78 additions & 21 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
@@ -161,7 +161,7 @@ common deps
161161
random,
162162
regex-base,
163163
regex-pcre,
164-
base >=4.11.1 && <4.18,
164+
base >=4.11.1 && <4.19,
165165
array ^>=0.5.2.0,
166166
async ^>=2.2.1,
167167
attoparsec >=0.13.2.3 && <0.15,
@@ -172,22 +172,22 @@ common deps
172172
text >=1.2.3.0 && < 2.2,
173173
bytestring >=0.10.8.2 && <0.12,
174174
vector >=0.12.0.1 && <0.14,
175-
transformers ^>=0.5.6.2,
175+
transformers >= 0.5.6 && < 0.7,
176176
network-uri ^>=2.6.1.0,
177177
stm ^>=2.5.0.0,
178178
directory ^>=1.3.1.5,
179179
filepath ^>=1.4.2,
180180
exceptions ^>=0.10.0,
181-
mtl ^>=2.2.2,
182-
unix ^>=2.7.2.2,
181+
mtl >= 2.2.2 && < 2.4,
182+
unix >= 2.7.2.2 && < 2.9,
183183
process ^>=1.6.3.0,
184184
prettyprinter >=1.2.1 && <1.8,
185185
time >=1.8.0.2 && <1.13,
186186
binary ^>=0.8.5.1,
187187
deepseq ^>=1.4.3.0,
188188
hashable >=1.2.7.0 && <1.6,
189189
tar ^>=0.5.1.0,
190-
ghc-prim >=0.5.2.0 && <0.10,
190+
ghc-prim >=0.5.2.0 && <0.11,
191191
parsec ^>=3.1.13.0,
192192
haxl >= 2.1.2.0 && < 2.6,
193193
hinotify ^>= 0.4.1

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

glean/db/Glean/Query/Typecheck/Monad.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ module Glean.Query.Typecheck.Monad (
3030
addErrSpan,
3131
) where
3232

33+
import Control.Monad
3334
import Control.Monad.Except
3435
import Control.Monad.State
3536
import qualified Data.HashMap.Strict as HashMap

0 commit comments

Comments
 (0)