Re: [Factor-talk] Strange using of variables

2021-06-30 Thread John Benediktsson
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 < george.chereviche...@gmail.com> wrote: > The vocab stack-checker/values line 7 > > : ( -- value ) \

[Factor-talk] Strange using of variables

2021-06-29 Thread George Cherevichenko
The vocab stack-checker/values line 7 : ( -- value ) \ counter ; Why do Pestov use \ (the name of a function) as a variable? The vocab stack-checker/recursive-state line 7 TUPLE: recursive-state quotations inline-words ; : ( -- state ) recursive-state new ; inline recursive-state