Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

DiffTools

Guides

  • Diff Tools

Tech Notes

  • Comparing Notebooks
  • Introduction to DiffTools

Symbols

  • AlignCellLists
  • BaseDiffStyle
  • Diff3
  • DiffApply
  • DiffGranularity
  • DiffInputFunction
  • DiffInvert
  • Diff
  • DiffObject
  • DiffView
  • IgnoreElements
  • IncludeMatches
  • MoreMatches
[
EXPERIMENTAL
]
Wolfram`DiffTools`
Diff3
​
Diff3
[ancestor,
edit
1
,
edit
2
]
attempts top resolve two different sets of edits from a common ancestor.
​
Details and Options

Examples  
(4)
Basic Examples  
(2)
Find the sequence of changes that can merge two different edits together:
In[1]:=
Diff3
[​​{1,2,3,4,5,6,7,8,9},​​{0,2,3,4,5,6,7,8,9},​​{1,2,3,3.1,3.2,3.3,4,6,7,10}]
Out[1]=
​
It is not always possible to merge two different edits together:
In[1]:=
obj=
Diff3
[{1,2,3},{1,2,3,4},{1,2,3,5}]
Out[1]=
Get details about the conflicts:
In[2]:=
obj["Conflicts"]
Out[2]=
{{3{},4{4},4{5}}}
Properties & Relations  
(2)

SeeAlso
Diff
 
▪
DiffApply
RelatedGuides
▪
Diff Tools
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com