[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to convert a string to a symbol?
From: |
Pascal J. Bourguignon |
Subject: |
Re: how to convert a string to a symbol? |
Date: |
Sun, 14 Sep 2008 09:27:30 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux) |
sunway <sunwayforever@gmail.com> writes:
> I don't want to take "(> 2 1)" as a symbol name, instead I want "(>
> 2 1)" be evaled to 't'
Oh, that's easy:
(defun eval-to-t (expr)
't)
(eval-to-t "(> 2 1)") --> t
--
__Pascal Bourguignon__ http://www.informatimago.com/
You never feed me.
Perhaps I'll sleep on your face.
That will sure show you.
- how to convert a string to a symbol?, sunway, 2008/09/14
- RE: how to convert a string to a symbol?, Drew Adams, 2008/09/14
- RE: how to convert a string to a symbol?, Drew Adams, 2008/09/14
- Message not available
- Re: how to convert a string to a symbol?, sunway, 2008/09/14
- Re: how to convert a string to a symbol?,
Pascal J. Bourguignon <=
- Re: how to convert a string to a symbol?, Tim X, 2008/09/14
- Re: how to convert a string to a symbol?, sunway, 2008/09/14
- Re: how to convert a string to a symbol?, Joost Diepenmaat, 2008/09/14
- Re: how to convert a string to a symbol?, Pascal J. Bourguignon, 2008/09/14
- Message not available
- Message not available