Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defmacro with-keys (keys hash-table &body body)
- `(symbol-macrolet ,(mapcar (lambda (entry)
- `(,entry (gethash ',entry ,hash-table)))
- keys)
- ,@body))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement