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
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.0.1.1

- GHC-9.0 compatibility

# 1.0.1

- Add 'withSomeM' combinator.
Expand Down
3 changes: 1 addition & 2 deletions some.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: some
version: 1.0.1
x-revision: 1
version: 1.0.1.1
stability: provisional
cabal-version: >=1.10
build-type: Simple
Expand Down
2 changes: 1 addition & 1 deletion src/Data/GADT/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ instance (GShow a, GShow b) => GShow (Product a b) where
type GReadS t = String -> [(Some t, String)]

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

mkGReadResult :: tag a -> Some tag
mkGReadResult = mkSome
Expand Down