Is there a way to Defer only parts of the expression? For example, I have
a=1;
and then I want the expression to be shown asa = 1;by usingDefer[a = Evaluate[a]],But the actual output is just
a = Evaluate[a]]
Is there away to only Defer part of an expression?
Defer[a = x] /. x -> aorDefer[a = #] &[a]? – kglr May 15 '14 at 19:15With[{x = a}, Defer[a = x]]? – kglr May 15 '14 at 19:20