This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Programming / Assignments  /
FullDefinition

  • FullDefinition[ symbol ] prints as the definitions given for symbol, and all symbols on which these depend.
  • FullDefinition has attribute HoldAll.
  • FullDefinition[ symbol ] recursively prints as all definitions for the symbol, and for the symbols that appear in these definitions.
  • FullDefinition does not look at rules or attributes of symbols that have the attribute Protected.
  • See the Mathematica book: Section 2.11.1.
  • See also: Definition, Save, Information.

    Further Examples

    The function g depends on f.

    In[1]:=

    In[2]:=

    The definition of f is not shown here.

    In[3]:=

    Global`g

    g[x_] := f[x] - f[x - 1]

    Now we see everything associated with g.

    In[4]:=

    Out[4]=

    We tidy up by clearing the functions.

    In[5]:=