Newsgroups: comp.lang.lisp
From: "Andreas Thiele" <nos...@nospam.com>
Date: Mon, 31 Jan 2005 15:48:45 +0100
Local: Mon, Jan 31 2005 9:48 am
Subject: Re: Beginner question
"Yoel Jacobsen" <y...@emet.co.il> schrieb im Newsbeitrag > Andreas, Yoel, > Thanks! Yet, I still would like to know what went wrong so I wouldn't you can define the following macro to see what is going on: (defmacro test1 (x) `(identity ,x)) Now my lisp answers: CL-USER 43 > (macroexpand '(test1 '(1 2))) You might also write: (defmacro test2 (x) to see what x contains within a comma expression: CL-USER 46 : 1 > (test2 '(1 2)) Thus you have (at least) two possible solutions: (defmacro list-to-plist (plist pos-list id-list field-list) Notice: argument to getf changed. Your function pline-to-plist remains Second possiblity: (defmacro list-to-plist (plist pos-list id-list field-list) (defun pline-to-plist (line) Notice: the quotes in pline-to-plist are gone. I'd utterly agree to Kenny. Lisp is different! At least for me. For most http://www.alu.org is a good starting point. Hope this helps a bit further. Andreas You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||