|
From: | Lennart Borgman (gmail) |
Subject: | Re: Need help with a simple macro to define a new function |
Date: | Thu, 15 Nov 2007 21:01:14 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Davis Herring wrote:
(new-sym (make-symbol new-name)))Surely you want the new symbol to be interned, so that it can be read? Then you want (intern new-name). (This also allows you to re-use anexisting "new-foo" symbol if it exists, which again you surely want.)
Thanks, that was the problem.
[Prev in Thread] | Current Thread | [Next in Thread] |