From: John B. <mr...@gm...> - 2021-07-01 00:14:10
|
Sometimes it's nice to not have to define a separate state variable, counter is the most often case that I've seen but there are others. On Tue, Jun 29, 2021 at 6:02 AM George Cherevichenko < geo...@gm...> wrote: > The vocab stack-checker/values line 7 > > : <value> ( -- value ) \ <value> counter ; > > Why do Pestov use \ <value> (the name of a function) as a variable? > > The vocab stack-checker/recursive-state line 7 > > TUPLE: recursive-state quotations inline-words ; > : <recursive-state> ( -- state ) recursive-state new ; inline > <recursive-state> recursive-state set-global > > Why do Pestov use "recursive-state" (the name of a tuple) as a variable? > > George > > _______________________________________________ > Factor-talk mailing list > Fac...@li... > https://lists.sourceforge.net/lists/listinfo/factor-talk > |