File tree Expand file tree Collapse file tree 5 files changed +24
-16
lines changed Expand file tree Collapse file tree 5 files changed +24
-16
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
call-workflow :
9
- uses : byteverse/.github/.github/workflows/build.yaml@main
10
- secrets : inherit
9
+ uses : byteverse/.github/.github/workflows/build-matrix.yaml@main
11
10
with :
12
- release : false
11
+ cabal-file : base62.cabal
Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
call-workflow :
9
- uses : byteverse/.github/.github/workflows/build .yaml@main
9
+ uses : byteverse/.github/.github/workflows/release .yaml@main
10
10
secrets : inherit
11
- with :
12
- release : true
Original file line number Diff line number Diff line change 1
1
# Revision history for base62
2
2
3
+ ## 0.1.1.2 -- 2024-02-06
4
+
5
+ * Restore import statement for ` liftA2 ` to fix build for GHC 9.4.
6
+ * Bump ` text ` upper bound to 2.2 to fix build for GHC 9.8.
7
+
3
8
## 0.1.1.1 -- 2024-02-01
4
9
5
10
* Update package metadata.
Original file line number Diff line number Diff line change 1
1
cabal-version : 2.2
2
2
name : base62
3
- version : 0.1.1.1
3
+ version : 0.1.1.2
4
4
synopsis : Base62 encoding and decoding
5
5
description : Encode and decode using the base62 encoding scheme.
6
6
homepage : https://github.com/byteverse/base62
@@ -12,29 +12,34 @@ maintainer: amartin@layer3com.com
12
12
copyright : 2019 Andrew Martin
13
13
category : Data
14
14
extra-doc-files : CHANGELOG.md
15
+ tested-with : GHC == 9.4.8 || == 9.6.3 || == 9.8.1
16
+
17
+ common build-settings
18
+ default-language : Haskell2010
19
+ ghc-options : -Wall -Wunused-packages
15
20
16
21
library
17
- exposed-modules : Data.Word.Base62
22
+ import : build-settings
23
+ exposed-modules : Data.Word.Base62
18
24
build-depends :
19
25
, base >= 4.17 && < 5
20
26
, bytebuild >= 0.3.4 && < 0.4
21
27
, byteslice >= 0.2 && < 0.3
22
28
, bytestring >= 0.11.4 && < 0.12
23
29
, natural-arithmetic >= 0.1 && < 0.2
24
30
, primitive >= 0.7 && < 0.10
25
- , text >= 2.0.2 && < 2.1
31
+ , text >= 2.0.2 && < 2.2
26
32
, text-short >= 0.1.5 && < 0.2
27
33
, wide-word >= 0.1.0.8 && < 0.2
28
34
29
- hs-source-dirs : src
30
- default-language : Haskell2010
31
- ghc-options : -Wall -O2
35
+ hs-source-dirs : src
36
+ ghc-options : -O2
32
37
33
38
test-suite test
34
- default-language : Haskell2010
35
- type : exitcode-stdio-1.0
36
- hs-source-dirs : test
37
- main-is : Main.hs
39
+ import : build-settings
40
+ type : exitcode-stdio-1.0
41
+ hs-source-dirs : test
42
+ main-is : Main.hs
38
43
build-depends :
39
44
, base >= 4.12.0.0 && < 5
40
45
, base62
Original file line number Diff line number Diff line change 1
1
{-# LANGUAGE LambdaCase #-}
2
2
{-# OPTIONS_GHC -fno-warn-orphans #-}
3
3
4
+ -- liftA2 is needed by GHC 9.4
4
5
import Control.Applicative (liftA2 )
5
6
import Data.Bits ((.&.) )
6
7
import Data.Char (chr )
You can’t perform that action at this time.
0 commit comments