Skip to content

Commit

Permalink
Add details to nrepl-dict commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhan0 authored and bbatsov committed Jun 11, 2024
1 parent 4b17105 commit 9db0cee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nrepl-dict.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
;;; Commentary:
;;
;; Provides functions to interact with and create `nrepl-dict's. These are
;; simply plists with an extra element at the head.
;; simply plists with an extra element at the head, and using `equal' for
;; comparison of string keys.

;;; Code:
(require 'cl-lib)
Expand Down Expand Up @@ -199,7 +200,7 @@ If NO-JOIN is given, return the first non nil dict."
(t `(,dict1 ,dict2)))))


;;; Dbind
;;; Destructuring-bind of string keys
(defmacro nrepl-dbind-response (response keys &rest body)
"Destructure an nREPL RESPONSE dict.
Bind the value of the provided KEYS and execute BODY."
Expand Down

0 comments on commit 9db0cee

Please sign in to comment.