@xpqz Looks good, but doesn't it belong under "Primitive operators"? (It was only presented separately because 18.0 wasn't out yet at the time.) Also, I think the "Jot" chapter should be called "Beside/Bind", as all the other chapters go by primitive name, not glyph name.
@user15236625 Hi Lilith Lovelace. If you want to participate here, please email access@apl.chat
How can I get this to work, without creating before the variable (I've just found this solution, but I can't use it)
{a←1 ⋄ {a+⍵} ⍵}2
3
g ← {a+⍵}
{a←1 ⋄ g ⍵}2
VALUE ERROR: Undefined name: a
g[0] g←{a+⍵}
∧
a←0
{a←1 ⋄ g ⍵}2
2
@MasterQuiz Wait, this isn't still working like I want, it's using the global variable. I could passed it as a variable but I wonder if it can be done in a simpler way
(The whole stack is open source, so you can have a look how it works.) There's a background thread that terminates long-running user-task threads, but the assassin thread never gets a time slice if ⍣ is running a tight loop.