[SOLVED] DSRN (dog slow roman numerals)
|
06-15-2014, 09:55 PM
Post: #41
|
|||
|
|||
RE: DSRN (dog slow roman numerals)
(06-15-2014 07:29 PM)Thomas Klemm Wrote: But then 4 + { 1 2 3 } = { 5 6 7 }.Actually it's { 4 1 2 3 }. At least it's consistent in that + adds an element to the list. Well, that's not quite right. What's { { 1 1 } { 2 4 } { 3 9 } } + { 4 16 } ? I initially expected { { 1 1 } { 2 4 } { 3 9 } { 4 16 } } but got { { 1 1 } { 2 4 } { 3 9 } 4 16 } instead. I suppose an argument could be made either way... Quote:I still think this was the worst decision when designing RPL.I don't know whether I would call it the worst, but it's certainly near the top of my list. Also note that the same commutativity violation occurs with STO+ when the variable holds a list or a string. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)