Hi,

    JiJie> 20) append' x:xs y = [(init x:xs)] ++ [(tail xs)++[y]]

function application (blank) binds stronger than :,
thus you should write 

   append' (x:xs) y = ...

Cheers
-- 
 Christoph
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to