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`
DiffObject
​
DiffObject
[v,type,data]
represents a sequence of changes for transforming objects of the indicated type.
​
Details and Options

Examples  
(6)
Basic Examples  
(2)
Diff
generates a
DiffObject
:
In[1]:=
obj=
Diff
["one fish","two fish"]
Out[1]=
Extract information about changes from a
DiffObject
:
In[2]:=
obj["Changes"]
Out[2]=
{{1one,1two},{{4,4} fish}}
Get a summary of a
DiffObject
:
In[3]:=
obj["SummaryString"]
Out[3]=
3 edits
​
If
Diff
finds a conflict, that will be reflected in the
DiffObject
:
In[1]:=
obj=
Diff3
["a string","my string","your string is too long"]
Out[1]=
Individual changes representing a conflict can be extracted from a
DiffObject
:
In[2]:=
obj["Conflicts"]
Out[2]=
{{1a,1my,1your}}
Properties & Relations  
(3)

Possible Issues  
(1)

SeeAlso
DiffInvert
 
▪
DiffApply
 
▪
SequenceAlignment
TechNotes
▪
Introduction to DiffTools
RelatedGuides
▪
Diff Tools
""

© 2025 Wolfram. All rights reserved.

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