#2752 details of append are not documented

None
open
nobody
5
2014-06-08
2014-06-08
No

Consider this

(%i1) f: [1, 2]$
(%i2) s: [10, 20]$
(%i3) l: [100, 200]$
(%i4) n: append(f, s, l)$
(%i5) f[1]: s[1]: l[1]: 'upd$
(%i6) n;
(%o6)                      [1, 2, 10, 20, upd, 200]

"append" uses copies of all lists except the last. This is consistent
with Common Lisp
http://clhs.lisp.se/Body/f_append.htm
but it is not reflected in the documentation.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks