From: Daniel C. <dca...@gm...> - 2010-12-12 21:47:34
|
Hi Tamas, > First, I would suggest that you get a decent book. PCL by Peter > Seibel is very nice. There is an online version. It will introduce > you to proper CL style too. I forgot to mention, I did find that book and I've been reading it. It's the best information I've seen so far, but I don't particularly love it. Most of it talks about things I'm not interested in, and it omits things that I am looking for. I study best if I try to solve a problem that I'm interested in. So I tried to figure out how to do things with vectors so I could write a few mathematical routines, and I got stuck. > You can search that online (see eg lispdoc.com), Thanks. Good resource. > but your IDE should make stuff really convenient. Can you recommend an IDE for Linux? I've just been using a regular text editor. Emacs has syntax highlighting, so that's what I've been using, but I don't actually know Emacs. > Just use DEFPARAMETER or DEFVAR. SETF is for assignment. Ignore SETQ > for now. I must be missing something very basic. I can't use DEFVAR inside a function either: (defun myfunc () (defvar result 3) (result)) SBCL complains about "undefined function: RESULT". :-( > (map 'vector #'+ '(1 2 3 4) '(2 3 4 5)) Excellent. Thanks. >> Thanks for the help. > > Also try comp.lang.lisp for general CL questions. Thanks. I'm very new, so I wasn't even sure where to go for help. -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced. |