Last active
February 15, 2019 20:01
-
-
Save benthepoet/1c0d1cb6a6a47eda489886eca231d0e1 to your computer and use it in GitHub Desktop.
This file contains 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 do-until-eof (line &body body) | |
`(loop for ,line = (read-line *standard-input* nil :eof) | |
until (eq ,line :eof) | |
do ,@body)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment