[babel-devel] Re: enc- -> encoding- rename?
Luís Oliveira
luismbo at gmail.com
Mon Sep 8 11:03:57 UTC 2008
On Sun, Sep 7, 2008 at 7:39 PM, Attila Lendvai <attila.lendvai at gmail.com> wrote:
> hm, we could add a compiler-macro that converts to the new accessors
> and issues a deprecation style-warning at compile time.
Ah, I like that idea. I guess a regular (generic) function would also
need to be added since compiler-macros are not guaranteed to be used.
What's the best way to do this with generic functions?
(setf (fdefinition 'old-name) #'new-name) ;?
;; then use a compiler macro here to issue the style-warning.
--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
More information about the babel-devel
mailing list