[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: map.el and naming
From: |
Stefan Monnier |
Subject: |
Re: map.el and naming |
Date: |
Mon, 02 Mar 2015 00:31:58 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Are there any reasons why we couldn't have map-keys that could accept
> any object where such an operation makes sense?
That's exactly what he's doing.
> IOW, why do we have to use different functions for different classes
> of objects, instead of having a single polymorphic interface?
He's not suggesting different functions for different objects, but
different function for different operations (e.g. either apply
a function to each key in the map, or apply a function to each
key+value in the map).
Stefan
- Re: map.el and naming, Stefan Monnier, 2015/03/02
- Re: map.el and naming,
Stefan Monnier <=
- Re: map.el and naming, Nicolas Petton, 2015/03/02
- Re: map.el and naming, Eli Zaretskii, 2015/03/02
- Re: map.el and naming, Nicolas Petton, 2015/03/02
- Re: map.el and naming, Eli Zaretskii, 2015/03/02
- Re: map.el and naming, Artur Malabarba, 2015/03/02
- Re: map.el and naming, Eli Zaretskii, 2015/03/02
- Re: map.el and naming, Artur Malabarba, 2015/03/02
- Re: map.el and naming, Stephen J. Turnbull, 2015/03/02
- Re: map.el and naming, Stefan Monnier, 2015/03/02
- Re: map.el and naming, Stephen J. Turnbull, 2015/03/02