Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Started with lisp!

Name: Anonymous 2007-07-29 19:11 ID:ya+3Ex+e

You faggots made me start learning lisp..
first of all THANKS a lot. seriously this language excites me more than anything!
btw, im learning CL.

Now what i've figured out about lisp is that f(x y z) is (f x y z) and that it's all expressions and macros.
I got used to progn quickly, and to defun etc

But i don't know the ``standard'' functions/macros/whatever, is there some reference i could use?

Also, how can i do something similar to Cs ``...''?

Something like
(defun f (a ...) (rest of code))

How can i reach a certain member of an array?
I've wrote this macro, but is it a good solution?
(defun reach-member (list nmemb) (if (< nmemb 0) () (if (= nmemb 0) (car list) (reach-member (cdr list) (- nmemb 1)))))

Also, where can i learn how to indent lisp code?
What are the rules?

Name: Anonymous 2007-07-30 4:51 ID:Heaven

>>11
[/cpde]
Ha ha, your BBCode doesn't compile, noob!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List