File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.3.4
2
+
3
+ - Remove 'Eq a' requirement from 'ediffGolden'. The constraint wasn't used, as we only compare 'Expr' representations.
4
+
1
5
## 0.3.3
2
6
3
7
- Change 'ediffGolden' so that parse errors in expected file don't cause the hard failure.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import qualified Text.PrettyPrint.ANSI.Leijen as WL
37
37
-- for a proper example.
38
38
--
39
39
ediffGolden
40
- :: ( Eq a , ToExpr a )
40
+ :: ToExpr a
41
41
=> (testName -> IO Expr -> IO Expr -> (Expr -> Expr -> IO (Maybe String )) -> (Expr -> IO () ) -> testTree ) -- ^ 'goldenTest'
42
42
-> testName -- ^ test name
43
43
-> FilePath -- ^ path to "golden file"
@@ -51,7 +51,7 @@ ediffGolden impl testName fp x = ediffGolden1 impl' testName fp (\() -> x) where
51
51
-- @since 0.3.2
52
52
--
53
53
ediffGolden1
54
- :: forall a arg testName testTree . ( Eq a , ToExpr a )
54
+ :: forall a arg testName testTree . ToExpr a
55
55
=> (testName -> IO Expr -> (arg -> IO Expr ) -> (Expr -> Expr -> IO (Maybe String )) -> (Expr -> IO () ) -> testTree ) -- ^ 'goldenTest'
56
56
-> testName -- ^ test name
57
57
-> FilePath -- ^ path to "golden file"
Original file line number Diff line number Diff line change 1
1
cabal-version : 2.2
2
2
name : tree-diff
3
- version : 0.3.3
3
+ version : 0.3.4
4
4
synopsis : Diffing of (expression) trees.
5
5
category : Data, Testing
6
6
description :
@@ -171,4 +171,4 @@ benchmark tree-diff-bench
171
171
-- extra dependencies
172
172
build-depends :
173
173
, criterion ^>= 1.6.3.0
174
- , Diff ^>= 0.5
174
+ , Diff ^>= 1.0
You can’t perform that action at this time.
0 commit comments