File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
4
4
import Data.Char
5
+ import Data.Function (on )
5
6
6
7
import System.Environment
7
8
import System.FilePath
@@ -15,7 +16,7 @@ checkConfig = CheckConfig
15
16
{ ccfgRead = parseXml
16
17
, ccfgClean = stripIfRequired
17
18
, ccfgDump = dumpXml
18
- , ccfgEqual = (==)
19
+ , ccfgEqual = (==) `on` dumpXml
19
20
}
20
21
21
22
Original file line number Diff line number Diff line change 3
3
4
4
import Data.Char
5
5
import Data.List
6
+ import Data.Function (on )
6
7
7
8
import System.Environment
8
9
import System.FilePath
@@ -16,7 +17,7 @@ checkConfig = CheckConfig
16
17
{ ccfgRead = parseXml
17
18
, ccfgClean = \ _ -> strip
18
19
, ccfgDump = dumpXml
19
- , ccfgEqual = (==)
20
+ , ccfgEqual = (==) `on` dumpXml
20
21
}
21
22
where
22
23
strip = stripAnchors' . stripLinks' . stripFooter
You can’t perform that action at this time.
0 commit comments