Skip to content

Commit 8c56898

Browse files
authored
Merge pull request #63 from alexfmpe/ghc-9.12
Build with GHC 9.12
2 parents 91f44a9 + 1ad4adb commit 8c56898

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/haskell.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.1', '9.2.5', '9.4.5', '9.6.1', '9.8.2', '9.10.1']
10+
ghc: ['8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.1', '9.2.5', '9.4.5', '9.6.1', '9.8.2', '9.10.1', '9.12.1']
1111
os: ['ubuntu-latest', 'macos-latest']
1212
runs-on: ${{ matrix.os }}
1313

patch.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ maintainer: maintainer@obsidian.systems
77
author: Ryan Trinkle
88
stability: Experimental
99
tested-with:
10-
ghc ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.1 || ==9.2.5 || ==9.4.5 || ==9.6.1 || ==9.8.2 || ==9.10.1
10+
ghc ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.1 || ==9.2.5 || ==9.4.5 || ==9.6.1 || ==9.8.2 || ==9.10.1 || ==9.12.1
1111
ghcjs ==8.6 || ==8.10
1212

1313
homepage: https://obsidian.systems
@@ -58,7 +58,7 @@ library
5858
default-extensions: PolyKinds
5959
ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs
6060
build-depends:
61-
base >=4.9 && <=4.21,
61+
base >=4.9 && <=4.22,
6262
constraints-extras >=0.3 && <0.5,
6363
commutative-semigroups >=0.0 && <0.3,
6464
containers >=0.6 && <0.8,

src/Data/Functor/Misc.hs

-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ import qualified Data.Map as Map
5555
import Data.Some (Some, mkSome)
5656
import Data.These
5757
import Data.Type.Equality ((:~:)(Refl))
58-
import Data.Typeable hiding (Refl)
5958

6059
--------------------------------------------------------------------------------
6160
-- Const2
@@ -66,7 +65,6 @@ import Data.Typeable hiding (Refl)
6665
-- parameter
6766
data Const2 :: Type -> x -> x -> Type where
6867
Const2 :: k -> Const2 k v v
69-
deriving (Typeable)
7068

7169
-- | Extract the value from a Const2
7270
unConst2 :: Const2 k v v' -> k
@@ -188,7 +186,6 @@ dmapToThese m = case (DMap.lookup LeftTag m, DMap.lookup RightTag m) of
188186
data EitherTag l r a where
189187
LeftTag :: EitherTag l r l
190188
RightTag :: EitherTag l r r
191-
deriving (Typeable)
192189

193190
deriving instance Show (EitherTag l r a)
194191
deriving instance Eq (EitherTag l r a)

0 commit comments

Comments
 (0)