Re: Discuss changing the behaviour of append()

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu