diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 353bcd96..5a048b2a 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -6,7 +6,7 @@ jobs: build: strategy: matrix: - ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.5', '9.4.5', '9.6.1', '9.8.2'] + ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.5', '9.4.5', '9.6.1', '9.8.2', '9.10.1'] os: ['ubuntu-latest', 'macos-latest'] runs-on: ${{ matrix.os }} diff --git a/ChangeLog.md b/ChangeLog.md index 41cee5a0..04db6ca4 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,7 +2,7 @@ ## Unreleased -* Add support for GHC 9.8 +* Add support for GHC 9.8 and 9.10 ## 0.9.3.0 diff --git a/reflex.cabal b/reflex.cabal index 9cbe55bb..554df59a 100644 --- a/reflex.cabal +++ b/reflex.cabal @@ -28,7 +28,7 @@ extra-source-files: ChangeLog.md tested-with: - GHC ==8.4.4 || ==8.6.5 || ==8.8.1 || ==8.10.7 || ==9.0.1 || ==9.2.5 || ==9.4.5 || ==9.6.1 || ==9.8.2, + GHC ==8.4.4 || ==8.6.5 || ==8.8.1 || ==8.10.7 || ==9.0.1 || ==9.2.5 || ==9.4.5 || ==9.6.1 || ==9.8.2 || ==9.10.1, GHCJS ==8.6 || ==8.10 flag use-reflex-optimizer @@ -71,25 +71,25 @@ library hs-source-dirs: src build-depends: MemoTrie == 0.6.*, - base >= 4.11 && < 4.20, + base >= 4.11 && < 4.21, bifunctors >= 5.2 && < 5.7, comonad >= 5.0.4 && < 5.1, - commutative-semigroups >= 0.1 && <0.2, - constraints >= 0.10 && <0.14, + commutative-semigroups >= 0.1 && <0.3, + constraints >= 0.10 && <0.15, constraints-extras >= 0.3 && < 0.5, - containers >= 0.6 && < 0.7, + containers >= 0.6 && < 0.8, data-default >= 0.5 && < 0.8, - dependent-sum >= 0.6 && < 0.8, dependent-map >= 0.3 && < 0.5, + dependent-sum >= 0.6 && < 0.8, exceptions >= 0.10 && < 0.11, exception-transformers >= 0.4 && < 0.5, - lens >= 4.7 && < 5.3, + lens >= 4.7 && < 5.4, mmorph >= 1.0 && < 1.3, monad-control >= 1.0.1 && < 1.1, mtl >= 2.1 && < 2.4, patch >= 0.0.7 && < 0.1, prim-uniq >= 0.1.0.1 && < 0.3, - primitive >= 0.5 && < 0.9, + primitive >= 0.5 && < 0.10, profunctors >= 5.3 && < 5.7, random >= 1.1 && < 1.3, ref-tf >= 0.4 && < 0.6, @@ -189,7 +189,7 @@ library build-depends: haskell-src-exts >= 1.16 && < 1.24, haskell-src-meta >= 0.6 && < 0.9, - template-haskell >= 2.9 && < 2.22 + template-haskell >= 2.9 && < 2.23 exposed-modules: Reflex.Dynamic.TH other-extensions: TemplateHaskell diff --git a/src/Reflex/PerformEvent/Base.hs b/src/Reflex/PerformEvent/Base.hs index 152460f9..9fae30ae 100644 --- a/src/Reflex/PerformEvent/Base.hs +++ b/src/Reflex/PerformEvent/Base.hs @@ -73,7 +73,7 @@ instance (PrimMonad (HostFrame t), ReflexHost t) => PrimMonad (PerformEventT t m type PrimState (PerformEventT t m) = PrimState (HostFrame t) primitive = PerformEventT . lift . primitive -instance (ReflexHost t, Ref m ~ Ref IO) => PerformEvent t (PerformEventT t m) where +instance (Monad (HostFrame t), ReflexHost t, Ref m ~ Ref IO) => PerformEvent t (PerformEventT t m) where type Performable (PerformEventT t m) = HostFrame t {-# INLINABLE performEvent_ #-} performEvent_ = PerformEventT . requesting_