Basic functions

head [1,2,3,4]
> 1
tail [1,2,3,4]
> [2,3,4]
length [1,2,3,4,5]
> 5
take 3 [1,2,3,4,5]
> [1,2,3]
drop 3 [1,2,3,4,5]
> [4,5]
[1,2,3] ++ [4,5]
> [1,2,3,4,5]
reverse [1,2,3,4,5]
> [5,4,3,2,1]
[1,2,3,4,5] !! 3
> 4
sum [1,2,3,4,5]
> 15
product [1,2,3,4,5]
> 120

Relevant concepts

a = b + c
  where b = 1
        c = 2
d = a * 2