[plt-scheme] Why isn't the car of a list of symbols a symbol?
On Thu, Jul 9, 2009 at 12:30 PM, Brent Saunders
<bsaunders at otxresearch.com>wrote:
> This doesn't make sense.
>
> > (define foo '('yes 'no))
> > (symbol? (first foo))
> #f
>
>
You have an extra quote on yes & no and that's why you have #f.
Welcome to MzScheme v4.1.3 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.
> (symbol? 'yes)
#t
> (symbol? ''yes)
#f
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090709/6e1b40b8/attachment.html>