View Problem

Fetch an element of a list by index

Given the list [One, Two, Three, Four, Five], fetch the third element ('Three')
DiskEdit
ocaml
let third = List.nth [ "One"; "Two"; "Three"; "Four"; "Five" ] 3;;

Submit a new solution for ocaml
There are 20 other solutions in additional languages (cpp, csharp, erlang, fsharp ...)