3 ms·
Yes, LOGO already has all the list evaluating like the real Lisp. ? run `[print ,[sum 2 3]] 5 But also a very sophisticated way to define functions with many
by pgtan 7y ago
Yes, LOGO already has all the list evaluating like the real Lisp.
? run `[print ,[sum 2 3]]
5
But also a very sophisticated way to define functions with many default and within even optional parameters without the need of parentheses. From UCBLogo info:
This version of Logo allows variable numbers of inputs to a procedure.
After the procedure name come four kinds of things, in this order:
1. 0 or more REQUIRED inputs :FOO :FROBOZZ
2. 0 or more OPTIONAL inputs [:BAZ 87] [:THINGO 5+9]
3. 0 or 1 REST input [:GARPLY]
4. 0 or 1 DEFAULT number 5