Logo

Programming-Idioms

  • Dart
  • Erlang

Idiom #134 Create a new list

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

Items = [A,B,C].
var items = [a, b, c];
(def items (list a b c))

New implementation...