When a word is redefined, is it possible to access the old word?
Imagine there is a word foo defined and redefined
: foo ( n -- 2*n ) 2* ; ok
: foo ( n -- 2*n+1 ) foo 1+ ; redefined foo ok
10 foo . 21 ok
foo here executed both definitions.
Is it possible to execute the first definition ("second-foo")?
21 second-foo . 42 ok
To see it?
see second-foo
: foo
2* ; ok