hanki

2. Lexical structure

def total(xs: List<int>) -> int
  xs.filter(|x| x > 1)
    .map(|x| x * 2)
    .fold(0, |acc, x| acc + x)
end