[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: identity
From: |
Marius Vollmer |
Subject: |
Re: identity |
Date: |
14 Apr 2001 11:03:38 +0200 |
User-agent: |
Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 |
Keisuke Nishida <address@hidden> writes:
> At 13 Apr 2001 20:10:22 +0200,
> Marius Vollmer wrote:
> >
> > Should we remove `id' or not?
>
> What about this?
>
> (define (identity x) x)
>
> (define (id x)
> (display ";;; `id' is deprecated. Use `identity' instead.\n")
> x)
Isn't that a bit much? You'll get the warning on every use of `id',
which might be an enourmous number of times. In any case, the message
should go to (current-error-port).
Maybe this is a good opportunity to intriduce explicit support for
deprecating into the module system? We could for example have a way
to emit a warning once when a deprecated binding is looked up.
- identity, Keisuke Nishida, 2001/04/12
- Re: identity, Marius Vollmer, 2001/04/13
- Re: identity, Keisuke Nishida, 2001/04/13
- Re: identity, Marius Vollmer, 2001/04/13
- Re: identity, Keisuke Nishida, 2001/04/13
- Re: identity,
Marius Vollmer <=
- Re: identity, Keisuke Nishida, 2001/04/14
- Re: identity, Keisuke Nishida, 2001/04/14
- Re: identity, Marius Vollmer, 2001/04/15
- Re: identity, Keisuke Nishida, 2001/04/15
- Re: identity, Marius Vollmer, 2001/04/15