|
-
Dec 27th, 2004, 10:10 AM
#1
Thread Starter
New Member
HELP! Functional Programming - Caml Light
HELP! Functional Programming - Caml Light
Not sure if this is the right place to post this, but here it is anyway: -
Does somebody out there understand the basics? Are there any good practical notes, sites, books etc which can help? I'm really struggling. Be glad of anyone's advice.
Stuart
-
Dec 27th, 2004, 08:06 PM
#2
Re: HELP! Functional Programming - Caml Light
What is CAML LIGHT? Sounds like a cigarette
-
Dec 28th, 2004, 06:44 AM
#3
Thread Starter
New Member
Re: HELP! Functional Programming - Caml Light
-
Dec 28th, 2004, 02:02 PM
#4
Re: HELP! Functional Programming - Caml Light
Sorry, I don't know anything about it.
-
Jan 5th, 2005, 09:13 AM
#5
Not NoteMe
Re: HELP! Functional Programming - Caml Light
I studied CL at university a few years ago, so if you have any specific questions i'll try and answer them, in the meantime.
http://pauillac.inria.fr/caml/
http://burks.brighton.ac.uk/burks/la...lman/index.htm
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
-
Jan 6th, 2005, 01:52 PM
#6
Thread Starter
New Member
Re: HELP! Functional Programming - Caml Light
Thanks for the links, they have definately helped. I will get in touch when and if I get stuck, and any help is really helpful so thanks Did you find it difficult?
-
Jan 6th, 2005, 02:23 PM
#7
Not NoteMe
Re: HELP! Functional Programming - Caml Light
 Originally Posted by Stuart_M
Thanks for the links, they have definately helped. I will get in touch when and if I get stuck, and any help is really helpful so thanks  Did you find it difficult?
I didn't find it too bad. Once you get the hang of the syntax and the way of thinking it's ok.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
-
Feb 16th, 2005, 06:00 AM
#8
Thread Starter
New Member
Re: HELP! Functional Programming - Caml Light
Hi all, has been a while and have been working hard at the programming. I knew the current situation i'm in would occur and that is why I said a while back that I would need help later on. Later on being now lol.
Anyway, I'm having trouble with lists. This is just one of many many many questions I have, so I will keep it down to the minimum.
I have to state whether a list is true or false, based on the integers in the list.
e.g
[1;2;3;4;5;6;7;8] would come up as TRUE#
[1;2;3;4;5;6;7;8;8;7] would come up as FALSE as this list contains two 7's and two 8's.
I have had a few ideas as to how to do this problem, and one of them is as a follows:-
If I could somehow subtract every value in the TL of the list from the HD, this would mean that if the list were as follows:-
[1;2;3;4;1], then:
1-2 = -1
1-3 = -2
1-4 = -3
1-1= 0
so if the value of the calculation is 0, then FALSE is displayed as a result.
Now I would need to do thsi recursivly, in order to take the hd(tl(tl(tl(tl(x))))
etc.....
So it would subtract every number from a 'HD', and so even if the following list was used, the recursive function would work it out:-
[1;2;3;4;5;6;7;7]
I hope that makes sense. Basically I'm having alot of trouble coding it, but I thinik that the method of solving the problem I have come up with will work.
Can anyone give me some advice and/or help?
Thanks,
Stuart.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|