From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gnuist006@hotmail.com Newsgroups: gmane.emacs.help Subject: Re: Nested Lambda function gives error in common lisp, guile, emacs lisp but works in scheme. Why? Date: Sun, 07 Oct 2007 05:36:11 -0000 Organization: http://groups.google.com Message-ID: <1191735371.345984.188970@22g2000hsm.googlegroups.com> References: <1191735269.656673.146370@50g2000hsm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1191742158 28350 80.91.229.12 (7 Oct 2007 07:29:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2007 07:29:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 07 09:29:16 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IeQZf-0005BV-OY for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Oct 2007 09:29:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IeQZa-0006WR-Jv for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Oct 2007 03:29:10 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!22g2000hsm.googlegroups.com!not-for-mail Original-Newsgroups: comp.lang.lisp,gnu.emacs.help,comp.lang.scheme Original-Lines: 40 Original-NNTP-Posting-Host: 75.28.99.126 Original-X-Trace: posting.google.com 1191735371 29332 127.0.0.1 (7 Oct 2007 05:36:11 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 7 Oct 2007 05:36:11 +0000 (UTC) In-Reply-To: <1191735269.656673.146370@50g2000hsm.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 22g2000hsm.googlegroups.com; posting-host=75.28.99.126; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu comp.lang.lisp:230516 gnu.emacs.help:152673 comp.lang.scheme:74307 X-Mailman-Approved-At: Sun, 07 Oct 2007 03:28:14 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48182 Archived-At: Sorry, guile is scheme. So no error in guile but errors are gotten in clisp and emacs. On Oct 6, 10:34 pm, gnuist...@hotmail.com wrote: > Please explain the below errors: > > guile> (((lambda (a) (lambda (b) (list a b))) 1) 2) > (1 2) > > i i i i i i i ooooo o ooooooo ooooo ooooo > I I I I I I I 8 8 8 8 8 o 8 8 > I \ `+' / I 8 8 8 8 8 8 > \ `-+-' / 8 8 8 ooooo 8oooo > `-__|__-' 8 8 8 8 8 > | 8 o 8 8 o 8 8 > ------+------ ooooo 8oooooo ooo8ooo ooooo 8 > > Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 > Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 > Copyright (c) Bruno Haible, Sam Steingold 1999-2000 > Copyright (c) Sam Steingold, Bruno Haible 2001-2006 > > [1]> (((lambda (a) (lambda (b) (list a b))) 1) 2) > > *** - EVAL: ((LAMBDA (A) (LAMBDA (B) (LIST A B))) 1) is not a function > name; try using a symbol > instead > The following restarts are available: > USE-VALUE :R1 You may input a value to be used instead. > ABORT :R2 ABORT > > Similar errors in emacs lisp. > > Thanks a lot in advance > gnuist