> What is wrong with this code?

What is wrong with this code?

Posted at: 2014-12-18 
I need to write a code in miranda that will take 2 lists and output the numbers that are common to both lists so my code was

p9 x y = (x ++ y) -- (x -- y)

p9 = p9 -- [y]

So what is wrong with it because i keep getiing an error that says its an unreachable case in defn of p9. found near line 2