Created
December 18, 2014 07:37
-
-
Save tkhoa2711/a3b3bb431f41bcd05036 to your computer and use it in GitHub Desktop.
Read a line and parse it into a list of items
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
(defun read-line-into-list () | |
(with-input-from-string (in (read-line)) | |
(loop for x = (read in nil nil) while x collect x))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment