Mutual recursion

assos 2018-03-07 16:42:54.256588 UTC

1getEven [] = []
2getEven [_] = []
3getEven (_:xs) = getOdd xs
4
5getOdd [] = []
6getOdd [x] = [x]
7getOdd (x:xs) = x : getEven xs