On Mon, Sep 18, 2006 at 12:25:21PM +0100, Neil Mitchell wrote: > Why not: > > check_elem (x:xs) = if x == e then (l2 ++ xs) else x : check_elem xs > > Thanks Thank you! Lists are my personal nightmare...;-) Andrea