Skip to content

Commit 22bee3e

Browse files
authored
Merge pull request #39 from haskellari/ghc-9.0-code-change
GHC-9.0 code changes
2 parents 9b5033d + 6a1399d commit 22bee3e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.0.1.1
2+
3+
- GHC-9.0 compatibility
4+
15
# 1.0.1
26

37
- Add 'withSomeM' combinator.

some.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: some
2-
version: 1.0.1
3-
x-revision: 1
2+
version: 1.0.1.1
43
stability: provisional
54
cabal-version: >=1.10
65
build-type: Simple

src/Data/GADT/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ instance (GShow a, GShow b) => GShow (Product a b) where
8282
type GReadS t = String -> [(Some t, String)]
8383

8484
getGReadResult :: Some tag -> (forall a. tag a -> b) -> b
85-
getGReadResult = withSome
85+
getGReadResult t k = withSome t k
8686

8787
mkGReadResult :: tag a -> Some tag
8888
mkGReadResult = mkSome

0 commit comments

Comments
 (0)