[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: map-put! and (setf (map-elt ...) ..) on lists
From: |
Nicolas Petton |
Subject: |
RE: map-put! and (setf (map-elt ...) ..) on lists |
Date: |
Tue, 18 Dec 2018 17:34:59 +0100 |
Drew Adams <address@hidden> writes:
>> > Do we have a non-destructive `map-put'?
>>
>> There's `map-insert'.
>
> My point was that there is no need for a function
> name to signal that the function so named is
> "destructive". The doc string should do that,
> however.
It can be very important to know that a function is destructive, I don't
think it's a should be seen as an internal detail of the function. IOW,
I think that whether a function is destructive or not is part of what
the function does, not how it does it.
Nico
signature.asc
Description: PGP signature
- Re: map-put! and (setf (map-elt ...) ..) on lists, (continued)
- Re: map-put! and (setf (map-elt ...) ..) on lists, Stefan Monnier, 2018/12/16
- Re: map-put! and (setf (map-elt ...) ..) on lists, Nicolas Petton, 2018/12/17
- Re: map-put! and (setf (map-elt ...) ..) on lists, Eli Zaretskii, 2018/12/17
- RE: map-put! and (setf (map-elt ...) ..) on lists, Drew Adams, 2018/12/17
- RE: map-put! and (setf (map-elt ...) ..) on lists, Nicolas Petton, 2018/12/18
- RE: map-put! and (setf (map-elt ...) ..) on lists, Drew Adams, 2018/12/18
- Re: map-put! and (setf (map-elt ...) ..) on lists, Stefan Monnier, 2018/12/18
- RE: map-put! and (setf (map-elt ...) ..) on lists,
Nicolas Petton <=
- RE: map-put! and (setf (map-elt ...) ..) on lists, Drew Adams, 2018/12/18
- RE: map-put! and (setf (map-elt ...) ..) on lists, Nicolas Petton, 2018/12/18
- Re: map-put! and (setf (map-elt ...) ..) on lists, Stefan Monnier, 2018/12/18
- RE: map-put! and (setf (map-elt ...) ..) on lists, Drew Adams, 2018/12/18
- Re: map-put! and (setf (map-elt ...) ..) on lists, Stefan Monnier, 2018/12/16
Re: map-put! and (setf (map-elt ...) ..) on lists, Nicolas Petton, 2018/12/17