From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Joel J. Adamson " Newsgroups: gmane.emacs.help Subject: Re: Learning LISP; Scheme vs elisp. Date: Sun, 03 Aug 2008 22:31:02 -0400 Message-ID: <6003.1217817062@email.unc.edu> References: <55dbm5-qcl.ln1@news.ducksburg.com> <857ib0mqun.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1217817453 29365 80.91.229.12 (4 Aug 2008 02:37:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2008 02:37:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: David Kastrup Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 04 04:38:22 2008 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 1KPpxl-0003Kq-9a for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Aug 2008 04:38:21 +0200 Original-Received: from localhost ([127.0.0.1]:39255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPpwp-00030f-OT for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Aug 2008 22:37:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KPpvu-0002yJ-4h for help-gnu-emacs@gnu.org; Sun, 03 Aug 2008 22:36:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KPpvp-0002u9-50 for help-gnu-emacs@gnu.org; Sun, 03 Aug 2008 22:36:22 -0400 Original-Received: from [199.232.76.173] (port=55393 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPpvp-0002tw-1K for help-gnu-emacs@gnu.org; Sun, 03 Aug 2008 22:36:21 -0400 Original-Received: from smtpsrv0.isis.unc.edu ([152.2.1.139]:61186 helo=smtp.unc.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KPpvg-0002tZ-5K; Sun, 03 Aug 2008 22:36:12 -0400 Original-Received: from edna.homeunix.org (cpe-066-057-101-159.nc.res.rr.com [66.57.101.159]) (authenticated bits=0) by smtp.unc.edu (8.13.4/8.13.4) with ESMTP id m742ZUf1024660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 3 Aug 2008 22:35:34 -0400 (EDT) Original-Received: from edna.homeunix.org (localhost [127.0.0.1]) by edna.homeunix.org (8.14.2/8.14.2) with ESMTP id m742V2nL006008; Sun, 3 Aug 2008 22:31:02 -0400 Original-Received: from email.unc.edu (joel@localhost) by edna.homeunix.org (8.14.2/8.14.2/Submit) with ESMTP id m742V21C006004; Sun, 3 Aug 2008 22:31:02 -0400 X-Authentication-Warning: edna.homeunix.org: joel owned process doing -bs In-reply-to: <857ib0mqun.fsf@lola.goethe.zz> Comments: In-reply-to David Kastrup message dated "Fri, 01 Aug 2008 22:18:24 +0200." X-Mailer: MH-E 8.0.3+cvs; nmh 1.3; GNU Emacs 23.0.60 X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:56191 Archived-At: >>>>> "dak" == David Kastrup writes: dak> That's actually not the same because apply then gets a quoted dak> symbol rather than a dereferenced function cell. The dak> equivalent would be (apply (symbol-function '+) '(1 2 3 4)) Perhaps it was a poor example for presentation; I've never actually used that sort of call in Emacs Lisp, as I mainly code in Scheme these days. My point was about the single namespace in Scheme, whereas in other Lisps there are multiple namespaces, to explain the differences between define and defun, defmacro, defvar, etc. Joel -- Joel J. Adamson (303) 880-3109 Public key: http://pgp.mit.edu http://www.unc.edu/~adamsonj http://trashbird1240.blogspot.com