5 karma · joined Aug 6, 2019 (7y ago) · 4 submissions
comment 7y ago · link · parent
>quotation >A list of elements, which may also contain symbols. Quotations can be be used to create heterogenous lists of elements of any data type, and also to create a block of code that will be evaluated later on (quoted program). Example: (1 2 3 + *)
( https://min-lang.org/learn-data-types/ )
Apparently Min functions are lists of the symbols they consist of, and can therefore be manipulated.
comment 7y ago · link · parent
If you mean concatenative languages (like Nim), then the difference is that a function in concatenative languages can push and pull an arbitrary number of arguments. This makes it trivial for a function to return two arguments, of which the next to functions use one each. It makes it non-trivial to have var-args. Magic like having a function consume as many further elements as the number on the top of the stack says is of course also possible.
Edit: Oh sorry, I confused "RPL" with "RPN". I don't know about RPL.
comment 7y ago · link · parent
Apparently it doesn't have macros either, it can only manipulate functions.
Edit: Maybe the mods should change the title. @dang