
18 Sep
2006
18 Sep
'06
8:15 a.m.
Hello Andrea, Monday, September 18, 2006, 3:22:43 PM, you wrote:
substitute e l1 l2= [c | c <- check_elem l1]
why not just substitute e l1 l2= check_elem l1 ? :)
where check_elem [] = l1
should be where check_elem [] = [] otherwise you just append second (backup? :) copy of original list to result :) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com