
5 Feb
2007
5 Feb
'07
12:15 p.m.
Hi, Thanx to all for the previous hints how to solve and write the function to calculate the sum of a list of lists. Now I need to know how to remove all numbers that are divisable by an integer. Lets say I have a list [2,4,5,6,8] and when I divide them with number 2, my list should look like [5]...because all other numbers in this list are divisible with 2 therefore I remove or filter all of them. I tried to use some zipWith...filter and other predefined functions..but I can't really find the right solution :(