Skip to content

Commit e4ed7f5

Browse files
authored
Merge pull request serokell#252 from serokell/gromak/support-ghc-9.2
Support GHC-9.2.2
2 parents afd959f + 0b230f6 commit e4ed7f5

File tree

7 files changed

+26
-15
lines changed

7 files changed

+26
-15
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,25 @@ jobs:
3535
# If you update this list of supported compiler versions,
3636
# make sure to update the `tested-with` section of `universum.cabal`.
3737
ghc:
38-
- "8.4.4"
3938
- "8.6.5"
4039
- "8.8.4"
4140
- "8.10.7"
4241
- "9.0.1"
42+
- "9.2.2"
43+
# Use only the latest compiler on non-Linux
4344
exclude:
45+
- os: macOS-latest
46+
ghc: 9.0.1
4447
- os: macOS-latest
4548
ghc: 8.8.4
4649
- os: macOS-latest
4750
ghc: 8.6.5
48-
- os: macOS-latest
49-
ghc: 8.4.4
51+
- os: windows-latest
52+
ghc: 9.0.1
5053
- os: windows-latest
5154
ghc: 8.8.4
5255
- os: windows-latest
5356
ghc: 8.6.5
54-
- os: windows-latest
55-
ghc: 8.4.4
5657

5758
steps:
5859
- uses: actions/checkout@v2
@@ -91,7 +92,7 @@ jobs:
9192
strategy:
9293
matrix:
9394
stack: ["2.7"]
94-
ghc: ["8.10.7"]
95+
ghc: ["9.0.2"]
9596

9697
steps:
9798
- uses: actions/checkout@v2

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Unreleased
22
=====
33

4+
* [#252](https://github.com/serokell/universum/pull/252):
5+
Remove `Option` re-export. Use `Maybe` instead.
6+
47
* [#176](https://github.com/serokell/universum/issues/176):
58
Deprecate `note`.
69

src/Universum/Monoid.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module Universum.Monoid
1010

1111
import Data.Monoid (All (..), Alt (..), Any (..), Dual (..), Endo (..), First (..), Last (..),
1212
Monoid (..), Product (..), Sum (..))
13-
import Data.Semigroup (Option (..), Semigroup (sconcat, stimes, (<>)), WrappedMonoid, cycle1,
14-
mtimesDefault, stimesIdempotent, stimesIdempotentMonoid, stimesMonoid)
13+
import Data.Semigroup (Semigroup (sconcat, stimes, (<>)), WrappedMonoid, cycle1, mtimesDefault,
14+
stimesIdempotent, stimesIdempotentMonoid, stimesMonoid)
1515

1616
import Universum.Monad.Reexport (Maybe, fromMaybe)
1717

src/Universum/VarArg.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE FlexibleContexts #-}
12
{-# LANGUAGE FlexibleInstances #-}
23
{-# LANGUAGE FunctionalDependencies #-}
34
{-# LANGUAGE MultiParamTypeClasses #-}

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
resolver: lts-18.17
1+
resolver: lts-19.0

stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
packages: []
77
snapshots:
88
- completed:
9-
size: 586292
10-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/17.yaml
11-
sha256: e66e70a7f998036025e8f40abc89b8eeb79c88f57727020cba1b54f375aa7ca0
12-
original: lts-18.17
9+
size: 616897
10+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/0.yaml
11+
sha256: bbf2be02f17940bac1f87cb462d4fb0c3355de6dcfc53d84f4f9ad3ee2164f65
12+
original: lts-19.0

universum.cabal

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ category: Prelude
1313
stability: stable
1414
build-type: Simple
1515
bug-reports: https://github.com/serokell/universum/issues
16-
tested-with: GHC == 8.4.4
17-
, GHC == 8.6.5
16+
tested-with: GHC == 8.6.5
1817
, GHC == 8.8.4
1918
, GHC == 8.10.7
2019
, GHC == 9.0.1
20+
, GHC == 9.2.2
2121
extra-doc-files: CHANGES.md
2222
, CONTRIBUTING.md
2323
, README.md
@@ -43,6 +43,8 @@ common common-options
4343
if impl(ghc >= 8.10.1)
4444
ghc-options: -Wno-prepositive-qualified-module
4545
-Wno-inferred-safe-imports
46+
if impl(ghc >= 9.2.0)
47+
ghc-options: -Wno-missing-kind-signatures
4648

4749
default-language: Haskell2010
4850

@@ -147,6 +149,10 @@ test-suite universum-doctest
147149

148150
if impl(ghc >= 8.10.1)
149151
ghc-options: -Wno-missing-safe-haskell-mode
152+
-- https://github.com/sol/doctest/issues/327
153+
-- TODO: re-enable when the issue is resolved
154+
if impl(ghc >= 9.0.0)
155+
buildable: False
150156

151157
ghc-options: -threaded
152158

0 commit comments

Comments
 (0)