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`
DiffInputFunction
​
DiffInputFunction
is an option for
Diff
and related functions that specifies how the input expressions should be preprocessed.
​
Details and Options

Examples  
(4)
Basic Examples  
(4)
Compare the input form strings of two arbitrary expressions:
In[1]:=
Diff
Expand[(x+y)^5],Expand[(x-y)^5],
DiffInputFunction
"InputForm"
Out[1]=
Contents cannot be rendered at this time; please try again later
​
Compare the StandardForm rendering of two expressions:
In[1]:=
Diff

1
1-
3
x
x,
2
1-
3
x
x,
DiffInputFunction
"StandardForm"
Out[1]=
Contents cannot be rendered at this time; please try again later
​
Compare two lists, ignoring order and repetitions:
In[1]:=
Diff
RandomInteger[10,10],RandomSample[Range[10]],
DiffInputFunction
Union
Out[1]=
Contents cannot be rendered at this time; please try again later
​
Compare two strings as if they were lists of characters:
In[1]:=
Diff
"This is a test","This is another example",
DiffInputFunction
Characters
Out[1]=
Contents cannot be rendered at this time; please try again later
SeeAlso
Diff
 
▪
DiffGranularity
 
▪
DiffView
TechNotes
▪
Introduction to DiffTools
RelatedGuides
▪
Diff Tools
""

© 2025 Wolfram. All rights reserved.

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