dash.el
dash.el copied to clipboard
Allow nested destructuring with key->key
(-let (((&plist :foo->:bar value) (list :foo (list :bar "x"))))
(message "value is %s" value))
;; should also work like this to support "string"->"keys"
(-let (((&plist :foo -> :bar value) (list :foo (list :bar "x"))))
(message "value is %s" value)
We can also think about a different delimiter, but not .
because that is the cons read syntax.