Login
|
Signup
langref.org
-
clojure
and
fantom
add..
all
cpp
csharp
erlang
fsharp
go
groovy
haskell
java
ocaml
perl
php
python
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Lists
Declaration
Define a static list
Define the list
[One, Two, Three, Four, Five]
clojure
(def a '[One Two Three Four Five])
(def a '[One Two Three Four Five])
fantom
list := ["One", "Two", "Three", "Four", "Five"]
class SolutionXX
{
Void main()
{
list := ["One", "Two", "Three", "Four", "Five"]
}
}
Submit a new solution for
clojure
or
fantom
There are 34 other solutions in
additional
languages (
cpp
,
csharp
,
erlang
,
fsharp
...)