Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [alists]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer

How to match the car of alist elements with a regexp?

I've spent a good amount of hours trying to solve this one but without success. I have an alist with strings (setq trees '(("pine" . "cones") ("oak" . "acorns") ...
Ajned's user avatar
  • 764
2 votes
2 answers

setf + alist-get but with "equal" instead of "eq"?

I got a suggestion to use setf to replace value in an alist: Replace element in a list / add in case of absence, with custom test/key functions The example was provided, but it doesn't work if key is ...
gavenkoa's user avatar
  • 3,472