[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Better way to make sure external command exists in the system?
From: |
Jean Louis |
Subject: |
Re: Better way to make sure external command exists in the system? |
Date: |
Thu, 25 Mar 2021 23:56:39 +0300 |
User-agent: |
Mutt/2.0.6 (2021-03-06) |
* Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> [2021-03-25 23:49]:
> Use a set function
>
> (cl-map 'list #'number-to-string '(1 2 3)) ; ("1" "2" "3")
But why use Emacs Lisp CL library and complexer Common Lisp style
when it works this way simpler:
(mapcar #'number-to-string '(1 2 3)) → ("1" "2" "3")
Any reason?
Then if I am to use some function defined in Emacs Lisp, then I
would rather use this one, instead of `cl-map', as it is simpler,
it will recognize the sequence.
(seq-map #'number-to-string '(1 2 3)) → ("1" "2" "3")
- Re: Better way to make sure external command exists in the system?, (continued)
Re: Better way to make sure external command exists in the system?, Jean Louis, 2021/03/21
- Re: Better way to make sure external command exists in the system?, Emanuel Berg, 2021/03/21
- Re: Better way to make sure external command exists in the system?, Jean Louis, 2021/03/23
- Re: Better way to make sure external command exists in the system?, Emanuel Berg, 2021/03/23
- Re: Better way to make sure external command exists in the system?, Jean Louis, 2021/03/23
- Re: Better way to make sure external command exists in the system?, Emanuel Berg, 2021/03/25
- Re: Better way to make sure external command exists in the system?, Jean Louis, 2021/03/25
- Re: Better way to make sure external command exists in the system?, Emanuel Berg, 2021/03/25
- Re: Better way to make sure external command exists in the system?,
Jean Louis <=
- Re: Better way to make sure external command exists in the system?, Emanuel Berg, 2021/03/25