-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathTreeDiff.hs
More file actions
27 lines (26 loc) · 824 Bytes
/
Copy pathTreeDiff.hs
File metadata and controls
27 lines (26 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- | Diffing of (expression) trees.
--
-- Diffing arbitrary Haskell data. First we convert values to untyped
-- haskell-like expression 'Expr' using generically derivable 'ToExpr' class.
-- Then we can diff two 'Expr' values.
-- The conversion and diffing is done by 'ediff' function.
-- See type and function haddocks for an examples.
--
-- Interesting modules:
--
-- * "Data.TreeDiff.Class" for a 'ToExpr' class and 'ediff' utility.
--
-- * "Data.TreeDiff.Golden" for golden tests helper
--
-- * "Data.TreeDiff.QuickCheck" for QuickCheck helper
--
module Data.TreeDiff (
module Data.TreeDiff.Expr,
module Data.TreeDiff.Class,
module Data.TreeDiff.Pretty,
module Data.TreeDiff.Parser,
) where
import Data.TreeDiff.Class
import Data.TreeDiff.Expr
import Data.TreeDiff.Parser
import Data.TreeDiff.Pretty