3 ms·
I've been tinkering with Emacs Lisp for a little bit. I notice some package authors use cl-* macros.. is it worth going in that direction? ...I just looked up
by tra3 4y ago
I've been tinkering with Emacs Lisp for a little bit. I notice some package authors use cl-* macros.. is it worth going in that direction?
...I just looked up where the macros are defined, this is fascinating:
> ;; This package was written by Dave Gillespie; it is a complete
> ;; rewrite of Cesar Quiroz's original cl.el package of December 1986.
Congrats to the Sandra team, sorry about the off topic.
- esrh 4y agocl-lib is practically indispensable in modern emacs lisp programming. It can be pretty annoying to write some patterns without cl-loop, for instance, which like the real loop macro in CL is stupidly powerful (think, DSL for describing loops). I'm not sure what you mean by "that direction," but if it implies doing CL, writing emacs lisp won't get you there, even if it might give you a head start from cl-lib, eieio, and general lisp ideas.