Logo

Programming-Idioms

  • C
  • Vb
s.Add(x)
(conj s x)

Works when s is a vector (not a list).

Example:
(conj [1 2 3] 4) => [1 2 3 4]

New implementation...