From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.bugs Subject: Re: quote oddity Date: Fri, 1 Apr 2011 18:29:25 -0400 Message-ID: <20110401222925.RGC7T.52485.root@cdptpa-web26-z01> References: <20110401213750.M91783@ccrma.Stanford.EDU> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1301697001 21503 80.91.229.12 (1 Apr 2011 22:30:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2011 22:30:01 +0000 (UTC) To: Bill Schottstaedt , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Apr 02 00:29:57 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5mqr-0005Lx-0g for guile-bugs@m.gmane.org; Sat, 02 Apr 2011 00:29:57 +0200 Original-Received: from localhost ([127.0.0.1]:49283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5mqq-0005y4-GV for guile-bugs@m.gmane.org; Fri, 01 Apr 2011 18:29:56 -0400 Original-Received: from [140.186.70.92] (port=56962 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5mqU-0005oI-0l for bug-guile@gnu.org; Fri, 01 Apr 2011 18:29:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5mqO-0000r0-Ck for bug-guile@gnu.org; Fri, 01 Apr 2011 18:29:33 -0400 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.123]:39184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5mqO-0000qd-9z for bug-guile@gnu.org; Fri, 01 Apr 2011 18:29:28 -0400 Authentication-Results: cdptpa-omtalb.mail.rr.com smtp.user=dsmich@roadrunner.com; auth=pass (LOGIN) X-Authority-Analysis: v=1.1 cv=ToWar1fa9ljTHbeJIRNQycBnYxCRNi5M/11QAwRcJ6A= c=1 sm=0 a=IkcTkHD0fZMA:10 a=COyHp5JRpiD6nSEggRIA:9 a=QEXdDO2ut3YA:10 a=TXD4nJE09OIvxfyRUHRTGw==:117 X-Cloudmark-Score: 0 Original-Received: from [10.127.132.117] ([10.127.132.117:53963] helo=cdptpa-web26-z01) by cdptpa-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTPA id 66/8E-29678-5C1569D4; Fri, 01 Apr 2011 22:29:25 +0000 In-Reply-To: <20110401213750.M91783@ccrma.Stanford.EDU> X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.180.132.123 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5408 Archived-At: ---- Bill Schottstaedt wrote: > Does this strike you guys as kind of odd? > > guile> ((lambda (s c) (s c)) quote #f) > c > guile> ((lambda (q) (let ((x 1)) (q x))) quote) > x > > I can't decide what I think. Well, quote is syntax. You can't pass it around like a function. Guile 2.0 fixes that: scheme@(guile-user)> ((lambda (s c) (s c)) quote #f) While compiling expression: ERROR: Syntax error: unknown location: quote: bad syntax in form quote scheme@(guile-user)> ((lambda (q) (let ((x 1)) (q x))) quote) While compiling expression: ERROR: Syntax error: unknown location: quote: bad syntax in form quote -Dale