Filter out elements at odd positions

assos 2018-03-07 16:07:09.12267 UTC

1filterOdd :: [a] -> [a]
2filterOdd [] = []
3filterOdd [x] = [x]
4filterOdd (_:y:z) = y : filterOdd(z)