[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: let-alist can't deal with the keys which includes spaces.
From: |
Emanuel Berg |
Subject: |
Re: let-alist can't deal with the keys which includes spaces. |
Date: |
Tue, 20 Jul 2021 20:17:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> The docstring is confusing IMO, your example so-so but
> better because of the initial "`let-alist' is just a handy
> way to destructure an alist" line, but why not just put it
> like this?
>
> (setq numbers '((one . 1)
> (two . 2)
> (three . 3)
> (four . 4) ))
>
> (let-alist numbers
> (list .one .two .three .four) ) ; (1 2 3 4)
Or even better, because that's how it is supposed to be used,
right, instead of `let' or as a variety thereof?
(let-alist '((one . 1)
(two . 2)
(three . 3)
(four . 4) )
(list .one .two .three .four) ) ; (1 2 3 4)
--
underground experts united
https://dataswamp.org/~incal
- let-alist can't deal with the keys which includes spaces., Hongyi Zhao, 2021/07/20
- Re: let-alist can't deal with the keys which includes spaces., tomas, 2021/07/20
- Re: let-alist can't deal with the keys which includes spaces., Omar Polo, 2021/07/20
- Re: let-alist can't deal with the keys which includes spaces., tomas, 2021/07/20
- Re: let-alist can't deal with the keys which includes spaces., Emanuel Berg, 2021/07/20
- Re: let-alist can't deal with the keys which includes spaces., tomas, 2021/07/20
- Re: let-alist can't deal with the keys which includes spaces., Emanuel Berg, 2021/07/20
- Re: let-alist can't deal with the keys which includes spaces.,
Emanuel Berg <=
- Re: let-alist can't deal with the keys which includes spaces., tomas, 2021/07/21
- Re: let-alist can't deal with the keys which includes spaces., Emanuel Berg, 2021/07/21