Reading a file in Common Lisp
This commit is contained in:
parent
d6ee3239c8
commit
b2dc08f0f4
|
@ -0,0 +1,7 @@
|
||||||
|
;; Day 1: Not Quite Lisp
|
||||||
|
|
||||||
|
(with-open-file (in "./data/input")
|
||||||
|
(do ((char (read-char in nil)
|
||||||
|
(read-char in nil)))
|
||||||
|
((null char))
|
||||||
|
(print char)))
|
Loading…
Reference in New Issue