-- Lists
let h = 1
let t = [2,3,4,5]
h:t -- This will show [1,2,3,4,5]
[1]:[2,3,4,5] -- Disallowed: Lists need to have elements of the same type
let l = [5,6,7,8]
head l
tail l
-- For interactive environment (no multiple lines and indentation allowed):
let nth (h:t) 1 = h; nth (h:t) n = nth t (n-1)
nth l 2