dot access syntax for emacslisp alists
Emacs Lisp
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.creole
dotassoc.el

README.creole

Access nested alists with dot notation expressions.

The best way to illustrate this is with examples:

(dotassoc "a.b.c" '(("a" . (("b" . (("c" . 10)))))))
=> 10

(dotassq 'a.b.c '((a . ((b . ((c . 10)))))))
=> 10