Re: the purpose of (eval (++ Prg) 1) in the 'task function

2021-05-16 Thread Alexander Burger
Great! Thanks a lot for sharing all your insights! I think all are correct. On Sun, May 16, 2021 at 07:30:29PM -0500, polifemo wrote: > ok, now I see how to work it with '@. It refers to the value of the first > argument: > > (task -5000 (/ @ 5) N 0 (tty (println (inc 'N > > I guess (eval (+

Re: the purpose of (eval (++ Prg) 1) in the 'task function

2021-05-16 Thread polifemo
ok, now I see how to work it with '@. It refers to the value of the first argument: (task -5000 (/ @ 5) N 0 (tty (println (inc 'N I guess (eval (++ Prg) 1) is the idiom to let your functions use @. Though you have to be thoughtful of how you do it. This '@ comes from the 'when, which is the e

Re: the purpose of (eval (++ Prg) 1) in the 'task function

2021-05-16 Thread polifemo
ok, I've found a way to pass an expression to eval: (task -5000 (* 10 100) N 0 (tty (println (inc 'N the next step is to figure a way to use @ inside that expression On Sun, May 16, 2021 at 7:14 PM polifemo wrote: > I'm studying 'trace in @lib.l, and I've run into a question. > I don't unde