Tag Info

New answers tagged

5

This bug is fixed in V10.0.1.0 but the behavior is different based on evaluation sequence. If both expressions are in a single cell you get the expected empty list: Do[Module[{foo}, foo[x_] := 1; foo[0]], {100}]; Names["foo$*"] {} If they are evaluated one at a time in different cells you get a single foo$ symbol regardless of how many times the Do ...


2

In order to be recognised as symbols the subscripted forms need to be keyed in control-_, you cannot explicitly use Subscript: When you use Subscript[] the arguments are replaced by their values before being passed to the function, but if you do x Ctrl+_ 1 the Notation package can grab it before the replacement.



Top 50 recent answers are included