|
|
|
|
|
by taradinoc
2615 days ago
|
|
Function definitions normally go in the GVAL, so <DEFINE FOO () ...>
is equivalent to <SETG FOO <FUNCTION () ...>>
But EVAL will fall back to the LVAL if the atom doesn't have a GVAL. In other words: <A B C>
is equivalent to <APPLY <COND (<GASSIGNED? A> ,A)
(<ASSIGNED? A> .A)
(T <ERROR>)>
B
C>
https://github.com/taradinoc/mdl-docs/blob/master/docs/03-bu... |
|
Another thing I couldn't find is exactly what a trailer with an empty OBLIST means. Does it use <ROOT>? It shows up in TELL for the uses of RETURN!-, which probably are to use a non-overridden version of RETURN.
(Or any idea what SETG20 is supposed to mean? It shows up in Bureaucracy.)