all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gnuist006@hotmail.com
To: help-gnu-emacs@gnu.org
Subject: Nested Lambda function gives error in common lisp, guile, emacs lisp but works in scheme. Why?
Date: Sun, 07 Oct 2007 05:34:29 -0000	[thread overview]
Message-ID: <1191735269.656673.146370@50g2000hsm.googlegroups.com> (raw)

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

             reply	other threads:[~2007-10-07  5:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-07  5:34 gnuist006 [this message]
2007-10-07  5:36 ` Nested Lambda function gives error in common lisp, guile, emacs lisp but works in scheme. Why? gnuist006
2007-10-07  7:55   ` David Rush
2007-10-07 11:04     ` Pascal Costanza
2007-10-07 11:02 ` Pascal Costanza
2007-10-07 23:27   ` David Rush
2007-10-08  1:14     ` .
2007-10-08  3:43       ` Rainer Joswig
2007-10-08  2:58     ` William D Clinger
2007-10-08  6:42       ` Pascal Costanza
2007-10-08 20:33         ` namekuseijin
2007-10-08 20:48           ` Pascal Costanza
2007-10-08 19:05       ` Don Geddis
2007-10-08  6:39     ` Pascal Costanza
2007-10-08  0:09 ` Matthias Benkard
2007-10-08 12:24   ` Barry Margolin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1191735269.656673.146370@50g2000hsm.googlegroups.com \
    --to=gnuist006@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.