Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/packcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
fail-fast: false
matrix:
name:
- 9.12.1
- 9.10.1
- 9.8.1
- 9.6.3
Expand All @@ -100,6 +101,12 @@ jobs:
- 8.2.2
- 8.0.2
include:
- name: 9.12.1
ghc-version: 9.12.1
command: cabal-v2
runner: ubuntu-latest
cabal-version: 3.14.1.1

- name: 9.10.1
ghc-version: 9.10.1
command: cabal-v2
Expand Down Expand Up @@ -153,12 +160,16 @@ jobs:
command: cabal-v2
runner: ubuntu-latest
cabal-version: 3.2
pack_options: >-
DISABLE_BENCH=y

- name: 8.4.4
ghc-version: 8.4.4
command: cabal-v2
runner: ubuntu-latest
cabal-version: 3.2
pack_options: >-
DISABLE_BENCH=y

- name: 8.2.2
ghc-version: 8.2.2
Expand Down
8 changes: 7 additions & 1 deletion Data/Unicode/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ module Data.Unicode.Types
NormalizationMode(..)
) where

#if __GLASGOW_HASKELL__ < 912
import Data.Typeable (Typeable)
#endif

-- |
-- Normalization transforms Unicode text into an equivalent
Expand Down Expand Up @@ -95,4 +97,8 @@ data NormalizationMode
| NFKD -- ^ Compatibility decomposition.
| NFC -- ^ Canonical decomposition followed by canonical composition.
| NFKC -- ^ Compatibility decomposition followed by canonical composition.
deriving (Eq, Show, Enum, Typeable)
deriving (Eq, Show, Enum
#if __GLASGOW_HASKELL__ < 912
, Typeable
#endif
)
8 changes: 4 additions & 4 deletions unicode-transforms.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ library
hs-source-dirs: .
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
build-depends:
base >= 4.8 && < 4.21
base >= 4.8 && < 4.22
, unicode-data >= 0.2 && < 0.7
, bytestring >= 0.9 && < 0.13
, ghc-prim >= 0.2 && < 0.12
, ghc-prim >= 0.2 && < 0.14

-- We depend on a lot of internal modules in text. We keep the upper bound
-- inclusive of the latest stable version.
Expand All @@ -112,7 +112,7 @@ test-suite extras
test
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
build-depends:
QuickCheck >=2.1 && <2.15
QuickCheck >=2.1 && <2.16
, base
, deepseq >=1.1 && <1.6
, text
Expand Down Expand Up @@ -190,7 +190,7 @@ benchmark bench
if flag(use-gauge)
build-depends: gauge >=0.2.0 && <0.3
else
build-depends: tasty-bench>= 0.2.5 && <0.4
build-depends: tasty-bench>= 0.2.5 && <0.5
mixins: tasty-bench (Test.Tasty.Bench as Gauge.Main)
if flag(dev)
ghc-options: -O0
Expand Down
Loading