3 Apr
2021
3 Apr
'21
2:51 p.m.
Greg Ewing writes:
To get by with just one "+" you would need some way to bracket the arguments, then you have something more like backwards Lisp with at least as many parens as infix.
You can't invoke Lisp here: (+) 0 (+ 1) 1 (+ 1 1) 2 (+ 1 1 1) 3 and so on. My recollection is the same as David's, except that in the worksheets I used (and the worksheets my daughter used in Japanese school) the operation was implicit. The instructions at the top of the page would say "add all the numbers in each example", and they would be arranged in a column in each example. (Only for addition, though.) Steve