Search found 3 matches

by koekoek
Fri Feb 19, 2010 1:40 am
Forum: Common Lisp
Topic: I have an urgent question :S
Replies: 5
Views: 13921

Re: I have an urgent question :S

Thanks for your reply. I have to say that we studied lisp without a compiler, so only on paper. Our teacher wanted us to show us how we have to think when programming lisp. I just wanted to hear that my logic is correct thank you :D Unfortunately, the teacher didn't think so. No need to reply in thi...
by koekoek
Wed Feb 17, 2010 7:12 am
Forum: Common Lisp
Topic: I have an urgent question :S
Replies: 5
Views: 13921

Re: I have an urgent question :S

sorry. I forgot to say that I'm not a programmer but an economist. The purpose of our course was that we had to understand the principles of lisp. How it works. Recursion and so on. So it didn't need to be perfect. What I am asking is, is the global idea behind what I have written totally wrong? My ...
by koekoek
Wed Feb 17, 2010 6:44 am
Forum: Common Lisp
Topic: I have an urgent question :S
Replies: 5
Views: 13921

I have an urgent question :S

Dearest members of the Lispforum. I'm 22 years old and Belgian. A few months ago, I had an examination about LISP. We had to write a sorter function. eg. ´(1 8 4 6 9 7) --> (9 8 7 6 4 1) This is what I have written: (defun sorter A (cond (null A) nil) (eq (difference ((car a) (greatest A)) 0) (cons...