Created
February 13, 2015 03:07
-
-
Save mpontus/1a35a09bb71763478b1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun names-introspect-replace-labels (fn form) | |
(let* ((vars names--var-list) | |
(bindings (--> (-map 'symbol-value vars) | |
(-interleave vars it) | |
(-partition 2 it)))) | |
`(lexical-let ,bindings ',@form))) | |
(lexical-let ((names--name new-) | |
(names--regexp "\\`new-") | |
(names--bound nil) | |
(names--version nil) | |
(names--package nil) | |
(names--group-parent nil) | |
(names--macro nil) | |
(names--current-run 0) | |
(names--fbound nil) | |
(names--keywords nil) | |
(names--local-vars nil) | |
(names--protection "\\`::")) | |
'defuntest | |
nil | |
names--name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment