View Problem

Define an empty list

Assign the variable "list" to a list with no elements
DiskEdit
ruby
list = []
DiskEdit
ruby
list = Array.new
DiskEdit
clojure
(list)
DiskEdit
clojure
'()

Submit a new solution for ruby or clojure
There are 22 other solutions in additional languages (cpp, csharp, erlang, fantom ...)