Search found 4 matches

by Frisco
Thu Dec 09, 2010 11:14 pm
Forum: Common Lisp
Topic: Just learning- Syntax Help please?
Replies: 9
Views: 8522

Re: Just learning- Syntax Help please?

Trying to catch up on all of the comments here... -No, it doesn't run at all in its current state. Not even incorrectly. It throws an error when I try to run it. - Now that you all sufficiently bashed _ANSI Common Lisp_ is there another free (or very cheap) book or online tutorial that teaches Commo...
by Frisco
Thu Dec 09, 2010 10:19 am
Forum: Common Lisp
Topic: Just learning- Syntax Help please?
Replies: 9
Views: 8522

Re: Just learning- Syntax Help please?

First, thanks for trying to explain things out instead of face-palming and giving up. I'm (attempting to) teach myself from the book "ANSI Common LISP", by Paul Graham. I'll check out your link and see if it helps. Wasn't thinking at all when deciding to use camelCase. Taught to do in C++ ...
by Frisco
Wed Dec 08, 2010 3:13 pm
Forum: The Lounge
Topic: Average Lisp age?
Replies: 36
Views: 490791

Re: Average Lisp age?

At the time of the post above, I was 18, but 19 now.
I'm struggling to learn Lisp as a Freshman in college because of an interest in AI and an intense dislike of the highly-structured BS that is C++.
by Frisco
Wed Dec 08, 2010 3:10 pm
Forum: Common Lisp
Topic: Just learning- Syntax Help please?
Replies: 9
Views: 8522

Just learning- Syntax Help please?

(defun bigPrime (number) (let ((ans 0)) (do ((iterator 1 (+ iterator 2))) ((equal number iterator)'yay!) (do ((currCheck 1 (+ currCheck 1))) ((equal currCheck iterator)) (if (equal currCheck iterator) (setf ans currCheck) (if (equal 0 (rem currCheck iterator)) (setf currCheck iterator) ())))))) The...