From: Marco Antoniotti <marcoxa@cs...> - 2005-09-13 12:44:50
On Sep 13, 2005, at 8:35 AM, pomarancde23@... wrote:
> Hello again!
> is there a way to turn |(a b c)| into (a b c), so I can process
> it with a function that takes lists as arguments?
Looks like you painted yourself in a corner. In Common Lisp |(a b c)|
is a symbol, not easily convertible to a list. My overall suggestion
is that you have a look at Lisa http://lisa.sf.net, a modern
implementation of a forward chaining shell which does implement the
Marco Antoniotti http://bioinformatics.nyu.edu
NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488
715 Broadway 10th FL fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.
From: Devon Sean McCullough <Lisp-Hacker@Jovi.Net> - 2005-09-13 13:03:30
Questions like this should go to a general lisp beginner's list,
not this list which is for CLISP specific questions.
Date: Tue, 13 Sep 2005 14:35:38 +0200 (CEST)
is there a way to turn |(a b c)| into (a b c), so I can process
it with a function that takes lists as arguments? Cheers
You probably want the string "(a b c)"
not the symbol '|(a b c)|
as beginners are often confused about symbols.
(READ-FROM-STRING "(a b c)")
will parse your string into a list,
then you might use FUNCALL or APPLY
but after you learn the basic concepts
you will likely revise your overall design.
\ / Health Care
X not warfare
Dubya won the digital vote
Kerry won the popular vote