Created
September 23, 2014 21:48
-
-
Save AeroNotix/dfbe806788a6d460b735 to your computer and use it in GitHub Desktop.
Revisions
-
AeroNotix created this gist
Sep 23, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ (defun make-id-flipper () (let ((state nil) (id nil)) (lambda (client) (if state (return-stream-id client id) (setf id (next-stream-id client))) (setf state (not state)))))