myFilter fn (x:xs) = if fn x then x : myFilter fn xs else myFilter fn xs
myFilter fn (x:xs) = if fn x then x : myFilter fn xs else myFilter fn xs
myFilter fn (x:xs) = if fn x then x : myFilter fn xs else myFilter fn xs