From: Helmut Eller <eller.helmut@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: is requiring cl bad?
Date: Thu, 20 Dec 2012 10:16:53 +0100 [thread overview]
Message-ID: <m2txrhaxru.fsf@gmail.com> (raw)
In-Reply-To: 50D29831.9060408@harpegolden.net
On Thu, Dec 20 2012, David De La Harpe Golden wrote:
> If emacs ever did go toward adding new facilities in the general area
> of modularity (however unlikely it is in reality in the near future),
> I reckon Ron Garret's common lisp land "lexicons" work [1] might be a
> better "lispy modularity thingy" for emacs lisp to be inspired by than
> common lisp packages in particular. At least, I'd take a hard look at
> lexicons (and at least glance at what some other languages do), before
> just blindly adding common lisp style packages.
Have you actually taken a "hard look" at Ron Garret's lexicons? What
was your experience? I played with them a few years back, but I quickly
concluded that lexicons are only a crude prototype and that it was never
used in the "field"; not something I would use. Ron Garret's code only
worked with Clozure CL and since then CCL's internals have changed a bit
so that lexicons no longer work.
Common Lisp's packages are not prefect, but they get the job done. The
problems (and workarounds) are by now well known.
> Emacs lisp is lexically scoped now after all.
If you want Scheme-like modules based on lexical scoping you will also
need hygienic macros. (Something that Common Lisp nicely avoids.)
Helmut
next prev parent reply other threads:[~2012-12-20 9:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-16 9:29 is requiring cl bad? Ivan Kanis
2012-12-16 10:14 ` Xue Fuqiao
2012-12-16 10:26 ` Pascal J. Bourguignon
2012-12-16 10:36 ` Xue Fuqiao
2012-12-16 11:00 ` Ivan Kanis
2012-12-16 17:06 ` Stefan Monnier
2012-12-17 19:09 ` Pascal J. Bourguignon
2012-12-18 1:58 ` Tony Day
2012-12-20 4:46 ` David De La Harpe Golden
2012-12-20 5:20 ` Ivan Kanis
2012-12-20 9:16 ` Helmut Eller [this message]
2012-12-21 7:05 ` David De La Harpe Golden
2012-12-21 9:24 ` Helmut Eller
2012-12-17 20:58 ` Ivan Kanis
2012-12-18 4:04 ` Stefan Monnier
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=m2txrhaxru.fsf@gmail.com \
--to=eller.helmut@gmail.com \
--cc=emacs-devel@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.