Re: Discuss changing the behaviour of append()
- Posted by ArthurCrump Jun 09, 2014
- 5105 views
ArthurCrump said...
A similar unnecessary restriction applies to prepend
Arthur
To suggest the same for prepend was not such a good idea.
There is unlikely to be any confusion appending a new object to an atom, but prepend has its operands in reverse order so that
x = prepend(1,2)
would give x={2,1} if it was allowed.
That could be confusing
Arthur

