Skip to content

Instantly share code, notes, and snippets.

@tkhoa2711
Created December 18, 2014 07:37
Show Gist options
  • Save tkhoa2711/a3b3bb431f41bcd05036 to your computer and use it in GitHub Desktop.
Save tkhoa2711/a3b3bb431f41bcd05036 to your computer and use it in GitHub Desktop.
Read a line and parse it into a list of items
(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