From: Vandana Verma
Subject: summary of application of a function to string
Date: 
Message-ID: <4b6p75$gmo@paladin.american.edu>
The original question was:

> I need to convert a lisp function to a string. 
> Is there an easy way to do this.
> What I have (foo x y z)
> What I want "(foo x y z)"
> 

The solution is: (format nil "~S" '(foo x y z))

Thanks to all those who replied -
Jens Kilian <·····@hpbeo82.bbn.hp.com>
Stefan K. Bamberger <·····@informatik.uni-wuerzburg.de
Marty Hall <····@aplcenmp.apl.jhu.edu>
····@mdhost.cse.TEK.COM

Another suggestion was to use: (princ-to-string '(foo x y z))
But that does not work if the function includes kewywords.


-Vandana.