all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Nested Lambda function gives error in common lisp, guile, emacs lisp but works in scheme. Why?
@ 2007-10-07  5:34 gnuist006
  2007-10-07  5:36 ` gnuist006
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: gnuist006 @ 2007-10-07  5:34 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-10-08 20:48 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-07  5:34 Nested Lambda function gives error in common lisp, guile, emacs lisp but works in scheme. Why? gnuist006
2007-10-07  5:36 ` 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

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.