robpike / ivy

ivy, an APL-like calculator
Other
1.32k stars 103 forks source link

`)Erase` for global variables. #106

Closed mselh closed 2 years ago

mselh commented 2 years ago

with the commit, 0290510180ee94f5732abf39074d5acf2b73432f

Am I right in thinking, this makes sense now?

image

robpike commented 2 years ago

In ivy, it's sufficient to say

x = 0

to free up the variable name x and use it as an operator. Given that, I'm not sure an erase helper is necessary.