Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Unison.Merge.HumanDiffOp
Synopsis
- data HumanDiffOp ref
- = HumanDiffOp'Add !ref
- | HumanDiffOp'Delete !ref
- | HumanDiffOp'Update !(Updated ref)
- | HumanDiffOp'PropagatedUpdate !(Updated ref)
- | HumanDiffOp'AliasOf !ref !(NESet Name)
- | HumanDiffOp'RenamedFrom !ref !(NESet Name)
- | HumanDiffOp'RenamedTo !ref !(NESet Name)
Documentation
data HumanDiffOp ref Source #
A diff operation is one of:
- An add (where nothing was)
- A delete (of the thing that was)
- An update (from old to new)
- A propagated update (from old to new)
- An alias of some definition(s) on the other side
- A rename from some definition(s) on the other side
Constructors
HumanDiffOp'Add !ref | |
HumanDiffOp'Delete !ref | |
HumanDiffOp'Update !(Updated ref) | |
HumanDiffOp'PropagatedUpdate !(Updated ref) | |
HumanDiffOp'AliasOf !ref !(NESet Name) | |
HumanDiffOp'RenamedFrom !ref !(NESet Name) | |
HumanDiffOp'RenamedTo !ref !(NESet Name) |
Instances
Show ref => Show (HumanDiffOp ref) Source # | |
Defined in Unison.Merge.HumanDiffOp Methods showsPrec :: Int -> HumanDiffOp ref -> ShowS # show :: HumanDiffOp ref -> String # showList :: [HumanDiffOp ref] -> ShowS # |