50g System RPL list processing
|
11-01-2014, 10:40 PM
Post: #22
|
|||
|
|||
RE: 50g System RPL list processing
(11-01-2014 08:34 PM)Han Wrote: I don't understand the point of "one" -- "nil" actually makes sense with respect to empty sets. At what point will you ever use a regular operation and expect an ambiguous "one" ? The notion of "one" is a solution to a problem that does not seem to exist.One is the neutral element for multiplication as nil is for addition. Π list1 * Π list2 should return the same as Π (list1 concat list2). As long as none of the lists is empty this works fine but when one list is empty, the result will be nil. The object one would solve the problem. Marcus von Cube Wehrheim, Germany http://www.mvcsys.de http://wp34s.sf.net http://mvcsys.de/doc/basic-compare.html |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)