mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
📝 the Entry constructors.
This commit is contained in:
parent
d21c408af3
commit
4f0fee6d2c
@ -55,8 +55,8 @@ data Summarizable
|
||||
|
||||
-- | An entry in a table of contents.
|
||||
data Entry a
|
||||
= Unchanged a
|
||||
| Changed (Either a (Patch a))
|
||||
= Unchanged a -- ^ An entry for an unchanged portion of a diff (i.e. a diff node not containing any patches).
|
||||
| Changed (Either a (Patch a)) -- ^ Either an entry for a diff node contianing changes, or an entry for a node in a patch.
|
||||
deriving (Eq, Show)
|
||||
|
||||
-- | Compute a table of contents for a diff characterized by a function mapping relevant nodes onto values in Maybe.
|
||||
|
Loading…
Reference in New Issue
Block a user