[plt-scheme] Why isn't the car of a list of symbols a symbol?

From: YC (yinso.chen at gmail.com)
Date: Thu Jul 9 15:54:21 EDT 2009

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)
> (symbol? ''yes)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090709/6e1b40b8/attachment.html>

Posted on the users mailing list.