[SOLVED] DSRN (dog slow roman numerals)
|
06-15-2014, 04:30 AM
Post: #31
|
|||
|
|||
RE: DSRN (dog slow roman numerals)
(06-15-2014 01:22 AM)Claudio L. Wrote: I found that behavior when implementing \GSLIST and it didn't make any sense. Look at it as: \<< + \>> STREAM What happens when you execute + with only one number on the stack? Error: Too Few Arguments Quote:The sum of an empty list should give an error, but a list with one element has a clear result. Or then the sum of an empty list is 0 as in Lisp. And the product of an empty list is 1. Code: > (+ 3 4) Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)