New answers tagged

1

After one week of constant trial and error, I discovered that I only have to use the attribute HoldAllComplete instead of HoldAll: SetAttributes[mySum, HoldAllComplete]; mySum[arg_, {index_Symbol, limits___}] := Block[{index, evaluatedarg}, Print["debug msg 1"]; evaluatedarg = arg; With[{replaceevaluated = evaluatedarg}, mySum[replaceevaluated,...



Top 50 recent answers are included