FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us

We also have a status page:

Help with ports
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Caml Functions i need help with
Author: P--K 
Date:   02-03-04 16:16

Hi Guys,

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.

And also...

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

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Caml Functions i need help with   new
P--K 02-03-04 16:16 
 Re: Caml Functions i need help with   new
danp 03-03-04 21:53 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.