Logo

Programming-Idioms

  • Lisp
  • Pascal
  • Haskell

Idiom #260 Create an empty list of strings

Declare a new list items of string elements, containing zero elements

uses classes;
items := TStringList.Create;
var :: [String]
var = []
(def items '())

New implementation...
< >
programming-idioms.org