View Problem

Fetch an element of a list by index

Given the list [One, Two, Three, Four, Five], fetch the third element ('Three')
DiskEdit
clojure
(nth '[One Two Three Four Five] 2)
ExpandDiskEdit
fantom
["One", "Two", "Three", "Four", "Five"][2]
ExpandDiskEdit
fantom
["One", "Two", "Three", "Four", "Five"].get(2)

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