⎕CLEAR is a special constant, which when referenced will clear the workspace just like )clear does. For the bot, this isn't useful, but you can try it online!
@dzaima I've basically abandoned workspaces, and just ]save each item that I want to keep. I keep a folder at /X/ so that I can easily save things with ]save myfn \X` and load them with ]load \X\myfn`
@EriktheOutgolfer I'm not sure dzaima means the log. )save (or ⎕SAVE) will save the actual workspace content.
@dzaima Yes, ]snap will "SALT" all unSALTed items. You only need to beware that it (and ]save) cannot (as of yet) handle tacit functions; they need to be inside a namespace to survive.
A SALTed item is an item which has a link to a text file on disk. When the item is edited in the editor (not through assignment), the file is updated automatically.
So if you use ]save and ]load then you don't have to worry about loosing your work. Changes are saved every time you close the editor or manually save ("fix") from inside the editor.
I've even created a little program which loads everything I have in /X/ into ⎕SE.X every time I start APL. This way, I don't even have to ]load anything.
@EriktheOutgolfer Uh, or just atop ← {⍺←⊢⋄⍺⍺ ⍺ ⍵⍵ ⍵}. But Dyalog will never allow assignment to primitives like ngn/apl does. There is, however, a possibility we'll allow custom overloading of primitives for classes:
@Adám still I'm impressed you are considering primitive overloading for classes :) that's probably all we need (well, if class syntax didn't suck that much)