View Problem

Define an empty list

Assign the variable "list" to a list with no elements
ExpandDiskEdit
scala
val list = Nil
ExpandDiskEdit
scala
val list = List()
ExpandDiskEdit
scala
val list : List[String] = List()
ExpandDiskEdit
erlang
List = [],
ExpandDiskEdit
csharp 3
var list = new List<object>();

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