Filter out elements at odd positions

assos 2018-03-07 16:10:52.193242 UTC

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