[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNU ELPA] Let-Alist version 1.0.6
From: |
ELPA update |
Subject: |
[GNU ELPA] Let-Alist version 1.0.6 |
Date: |
Sun, 31 Mar 2024 05:33:40 -0400 |
Version 1.0.6 of package Let-Alist has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.
Let-Alist describes itself as:
======================================================
Easily let-bind values of an assoc-list by their names
======================================================
More at https://elpa.gnu.org/packages/let-alist.html
## Summary:
This package offers a single macro, `let-alist'. This macro takes a
first argument (whose value must be an alist) and a body.
The macro expands to a let form containing body, where each dotted
symbol inside body is let-bound to their cdrs in the alist. Dotted
symbol is any symbol starting with a `.'. Only those present in
the body are let-bound and this search is done at compile time.
For instance, the following code
(let-alist alist
(if (and .title .body)
.body
.site
.site.contents))
essentially expands to
## Recent NEWS:
[Not provided 🙁]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNU ELPA] Let-Alist version 1.0.6,
ELPA update <=