Created
October 6, 2010 22:25
-
-
Save rlorca/614232 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
(let ((counter 0)) | |
(defun new-id () | |
(incf counter)) | |
(defun reset-id () | |
(setq counter 0))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment