extend("array")

# Direct

array:filter(n => n > 10, [4,8,15,16,23,42])
// IntArray([15, 16, 23, 42])

# Partial

myFilter = array:filter(n => n % 2 == 0)
myFilter([1,2,3,4,5])
// reutrns IntArray([2, 4])

# Plceholder

myPartial = array:filter(_, [10,20,3,5])
myPartial(x => x < 10)
// return IntArray([3, 5])

