Skip to content

Commit 3933b82

Browse files
authored
Merge pull request #66 from tdimiduk/tdimiduk/ghc-9.10
allow compilation with GHC 9.10
2 parents 9294164 + 5e6a0fa commit 3933b82

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

beam-automigrate.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ library
4040

4141
hs-source-dirs: src
4242
build-depends:
43-
aeson >=1.4.4 && <2.2
43+
aeson >=1.4.4 && <2.3
4444
, base >=4.9 && <5
4545
, beam-core >=0.9 && <0.11
4646
, beam-postgres >=0.5 && <0.6
@@ -50,9 +50,9 @@ library
5050
, dlist >=0.8.0 && <1.1
5151
, microlens >=0.4.10 && <0.6
5252
, mtl >=2.2.2 && <2.4
53-
, postgresql-simple >=0.5.4 && <0.7.0.0
53+
, postgresql-simple >=0.5.4 && <0.7.1.0
5454
, pretty-simple >=2.2.0 && <4.2
55-
, QuickCheck >=2.13 && <2.15
55+
, QuickCheck >=2.13 && <2.18
5656
, quickcheck-instances >=0.3 && <0.4
5757
, scientific >=0.3.6 && <0.5
5858
, splitmix >=0.0.3 && <0.2
@@ -61,7 +61,7 @@ library
6161
, time >=1.8.0 && <2
6262
, transformers >=0.5.6 && <0.7
6363
, uuid >=1.3 && <1.4
64-
, vector >=0.12.0.3 && <0.13.0.0
64+
, vector >=0.12.0.3 && <0.14.0.0
6565

6666
default-language: Haskell2010
6767
default-extensions:

src/Database/Beam/AutoMigrate.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ module Database.Beam.AutoMigrate
6060
where
6161

6262
import Control.Exception
63+
import Control.Monad (when, forM_)
6364
import Control.Monad.Except
6465
import Control.Monad.Identity (runIdentity)
6566
import Control.Monad.State.Strict

src/Database/Beam/AutoMigrate/Postgres.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module Database.Beam.AutoMigrate.Postgres
1010
)
1111
where
1212

13+
import Control.Monad (guard)
1314
import Control.Monad.State
1415
import Data.Bits (shiftR, (.&.))
1516
import Data.ByteString (ByteString)

src/Database/Beam/AutoMigrate/Util.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module Database.Beam.AutoMigrate.Util where
55

66
import Control.Applicative.Lift
77
import Control.Monad.Except
8+
import Control.Monad.Trans.Class (lift)
89
import Data.Char
910
import Data.Functor.Constant
1011
import Data.Set (Set)

0 commit comments

Comments
 (0)