Date: 02-03-04 16:16
I am really stuck with some functions i wanna do in Caml can anybody help?
Define a function CountNi which takes a list of integers as its argument and returns the number of negative integers in the list.
Define a function CommonElement which takes two lists as its arguments
and then returns the list consisting of all common elements of them. For
example, when the two input lists are [1;2;3;4;5;6;7] and [1;3;5;7;9;11], the
result should be [1;3;5;7].
Cheers guys for any help