Logo

Programming-Idioms

History of Idiom 134 > diff from v17 to v18

Edit summary for version 18 by marcdel:
New Elixir implementation by user [marcdel]

Version 17

2016-12-04, 22:37:02

Version 18

2016-12-06, 22:21:35

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]
Doc URL
http://elixir-lang.org/docs/stable/elixir/List.html
Demo URL
http://elixirplayground.com?gist=1e96c32fe9f85539ff19751f3f85e4fc