Re: Discuss changing the behaviour of append()

new topic     » goto parent     » topic index » view thread      » older message » newer message
jaygade said...

I vote for the proposal to change the behavior of append() and prepend(). The impact should be minimal and it is clearer and more intuitive.

I like the original documentation, it's clear and concise. It should still be valid even with the proposed change.

Some things of note:

append(atom1, atom2) would be the same as atom1 & atom2
append(atom1, sequence1) would be the same as append({atom1}, sequence1)

Ok, I've now implemented a prototype implementation at http://scm.openeuphoria.org/hg/euphoria/rev/b49d88483f04

There may be room to improve upon this, but at least it's a starting point. If we still want to do this, that is.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu