50g System RPL list processing
|
10-31-2014, 02:15 PM
Post: #12
|
|||
|
|||
RE: 50g System RPL list processing
(10-31-2014 12:23 PM)Claudio L. Wrote:(10-31-2014 08:25 AM)Marcus von Cube Wrote: Why not define two generic objects nil and unit which behave properly when used in further calculations, i. e. like zero and one when combined with numbers, like an empty string and and error when combined with strings, and so forth? Shouldn't the result be nil as well? Naively speaking, "addition" of \( X \) with nil should return \( X \) whereas "multiplication" of \( X \) with nil should return nil. I don't think it makes any sense to have any operation on ambiguous arguments return anything un-ambiguous. Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)