Created
August 26, 2012 19:50
-
-
Save cmoore/3483085 to your computer and use it in GitHub Desktop.
To functional, or not to functional...
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
(defmacro with-x (login pass &rest body) | |
`(let ((the-connection (connect ,login ,pass) | |
,@body)) | |
(defun test () | |
(with-x "name" "pass" | |
(do-something the-connection))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment