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
How can i reach a certain member of an array?
I've wrote this macro, but is it a good solution?
Also, where can i learn how to indent lisp code?
What are the rules?
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?