Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

## Re: [clisp-list] |(a b c)| to (a b c)

 Re: [clisp-list] |(a b c)| to (a b c) From: Marco Antoniotti - 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 Rete algorithm. Cheers Marco -- 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. ```

 [clisp-list] |(a b c)| to (a b c) From: - 2005-09-13 12:35:51 ```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? Cheers Tomas ```
 Re: [clisp-list] |(a b c)| to (a b c) From: Marco Antoniotti - 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 Rete algorithm. Cheers Marco -- 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. ```
 Re: [clisp-list] |(a b c)| to (a b c) From: Devon Sean McCullough - 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. From: pomarancde23@... Date: Tue, 13 Sep 2005 14:35:38 +0200 (CEST) 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? 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. Peace --Devon /~\ \ / Health Care X not warfare / \ Dubya won the digital vote Kerry won the popular vote ```
 [clisp-list] Re: |(a b c)| to (a b c) From: Sam Steingold - 2005-09-13 13:13:37 ```> * [2005-09-13 14:35:38 +0200]: > > 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 (read-from-string (symbol-name '|(a b c)|)) from your questions it appears that you need to read some introduction to Common Lisp. Please start with the file clisp/doc/LISP-tutorial.txt while you are waiting for your copy of "ANSI CL" by Paul Graham to arrive in the mail. -- Sam Steingold (http://www.podval.org/~sds) running w2k ; ; ; ; ; I just forgot my whole philosophy of life!!! ```