[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is requiring cl bad?
From: |
Helmut Eller |
Subject: |
Re: is requiring cl bad? |
Date: |
Thu, 20 Dec 2012 10:16:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
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
- is requiring cl bad?, Ivan Kanis, 2012/12/16
- Re: is requiring cl bad?, Xue Fuqiao, 2012/12/16
- Re: is requiring cl bad?, Stefan Monnier, 2012/12/16
- Re: is requiring cl bad?, Pascal J. Bourguignon, 2012/12/17
- Re: is requiring cl bad?, Tony Day, 2012/12/17
- Re: is requiring cl bad?, David De La Harpe Golden, 2012/12/19
- Re: is requiring cl bad?, Ivan Kanis, 2012/12/20
- Re: is requiring cl bad?,
Helmut Eller <=
- Re: is requiring cl bad?, David De La Harpe Golden, 2012/12/21
- Re: is requiring cl bad?, Helmut Eller, 2012/12/21
Re: is requiring cl bad?, Ivan Kanis, 2012/12/17