Logo

Programming-Idioms

History of Idiom 134 > diff from v3 to v4

Edit summary for version 4 by steenslag:
New Ruby implementation by user [steenslag]

Version 3

2016-06-05, 15:06:23

Version 4

2016-06-13, 18:29:39

Idiom #134 Create a new list

Declare and initialize a new list items, containing 3 elements a, b, c.

Idiom #134 Create a new list

Declare and initialize a new list items, containing 3 elements a, b, c.

Extra Keywords
array vector slice tuple
Extra Keywords
array vector slice tuple
Code
items = [a, b, c]