Re: Discuss changing the behaviour of append()
- Posted by mattlewis (admin) Jun 10, 2014
- 5035 views
DerekParnell said...
object X, Y X = 4 Y = {8,9} X &= {Y} --Result is {4, {8,9}} X = {4} Y = {8,9} X &= {Y} --Result is {4, {8,9}} X = {4,5} Y = {8,9} X &= {Y} --Result is {4, 5, {8,9}} X = {} Y = {8,9} X &= {Y} --Result is {{8,9}}
So, if the change is made to Euphoria's append()/prepend() functions to do this, programs that now currently fail in this situation will no longer fail. Is that okay?
This seems like a positive change.
Matt

