StackComplete

StackComplete[expr]
evaluates expr with intermediate expressions in evaluation chains included on the stack.

DetailsDetails

  • Mathematica normally includes only the latest expression on each evaluation chain involved in the evaluation of a particular expression. Inside StackComplete, however, all preceding expressions on the evaluation chains are included.
  • StackComplete typically increases significantly the number of expressions kept on the evaluation stack.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Include intermediate expressions in the evaluation stack:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Without StackComplete, you do not see how f and g are used:

In[3]:=
Click for copyable input
Out[3]=
New in 2
New to Mathematica? Find your learning path »
Have a question? Ask support »