Skip to content

Commit 68cf321

Browse files
committed
Enable PolyKinds
1 parent db340cf commit 68cf321

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Revision history for patch
22

3+
## 0.0.4.0
4+
5+
* Enable PolyKinds
6+
37
## 0.0.3.2
48

59
* Update version bounds

patch.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: patch
2-
Version: 0.0.3.2
2+
Version: 0.0.4.0
33
Synopsis: Data structures for describing changes to other data structures.
44
Description:
55
Data structures for describing changes to other data structures.
@@ -55,6 +55,7 @@ library
5555
, Data.Patch.MapWithPatchingMove
5656

5757
ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs
58+
default-extensions: PolyKinds
5859

5960
if flag(split-these)
6061
build-depends: these >= 1 && <1.2

src/Data/Patch/Class.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ instance Patch (Identity a) where
3030
apply (Identity a) _ = Just a
3131

3232
-- | 'Proxy' can be used as a 'Patch' that does nothing.
33-
instance Patch (Proxy a) where
33+
instance Patch (Proxy (a :: *)) where
3434
type PatchTarget (Proxy a) = a
3535
apply ~Proxy _ = Nothing
3636

0 commit comments

Comments
 (0)