[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: Appending lists
From: |
Emanuel Berg |
Subject: |
Re: [External] : Re: Appending lists |
Date: |
Sun, 20 Jun 2021 22:27:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis wrote:
> ‘side-effect-free’ A non-‘nil’ value indicates that the
> named function is free of side effects (*note What Is
> a Function::), so the byte compiler may ignore a call
> whose value is unused. If the property’s value is
> ‘error-free’, the byte compiler may even delete such
> unused calls. In addition to byte compiler optimizations,
> this property is also used for determining function safety
> (*note Function Safety::).
>
> Now... you could make a list of all functions and separate
> those with `side-effect-free' and those without, though
> I don't think it would guarantee the result.
No thanks, but it can be interesting to know and examine...
I didn't use `nbutlast', `delq', or `delete-dups', and
`remove' only once:
(defun extract-strings (strings match)
"From STRINGS, get a list with the parts that MATCH."
(remove nil
(mapcar
(lambda (s) (when (string-match match s) (match-string 1 s)))
strings) ))
Hm...
--
underground experts united
https://dataswamp.org/~incal
- Re: Appending lists, (continued)
- Re: Appending lists, Drew Adams, 2021/06/16
- Re: Appending lists, tomas, 2021/06/17
- Re: Appending lists, Emanuel Berg, 2021/06/18
- Re: Appending lists, Emanuel Berg, 2021/06/18
- Re: Appending lists, tomas, 2021/06/19
- Re: Appending lists, Emanuel Berg, 2021/06/19
- RE: [External] : Re: Appending lists, Drew Adams, 2021/06/19
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/20
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/20
- Re: [External] : Re: Appending lists, Jean Louis, 2021/06/20
- Re: [External] : Re: Appending lists,
Emanuel Berg <=
- Re: [External] : Re: Appending lists, Jean Louis, 2021/06/20
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/20
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/20
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/20
- Re: [External] : Re: Appending lists, Jean Louis, 2021/06/20
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/20
- Re: [External] : Re: Appending lists, Jean Louis, 2021/06/20
- Re: [External] : Re: Appending lists, Emanuel Berg, 2021/06/20
- Re: [External] : Re: Appending lists, Jean Louis, 2021/06/20
- Re: [External] : Re: Appending lists, Stefan Monnier, 2021/06/20