Ok, I see my mistake. I assumed that let and the rest could create
enclosing environments, when only a function call can.
Another example I made of how to use 'up:
: (de f () (and 1000 (up 1 @) @))
-> f
: (and 10 (f))
-> 10
Thanks for the clarification alex!
On Mon, May 24, 2021 at 12:55 AM Ale
On Sun, May 23, 2021 at 08:44:32PM -0500, polifemo wrote:
> `(let @ 1 (let @ 10 (let @ 20 (up 2 @`
This are two misunderstandings in this example:
1. It has not a good idea to bind '@' in a 'let' expression. '@' is set
implicitly by flow- and logic-functions, so a correct usage would be