Logo

Programming-Idioms

History of Idiom 171 > diff from v6 to v7

Edit summary for version 7 by duser:
New D implementation by user [duser]

Version 6

2018-09-06, 19:56:39

Version 7

2018-09-21, 13:05:07

Idiom #171 Add an element at the end of a list

Append element x to the list s.

Idiom #171 Add an element at the end of a list

Append element x to the list s.

Extra Keywords
push grow
Extra Keywords
push grow
Code
s ~= x;
Comments bubble
s is a builtin array, which suport the cat assign operator