:: [a] -> Int -> Maybe a package:Agda

Lookup function (safe). O(min n index).