e96ba6a7b654
Doc
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Fri, 01 Dec 2017 13:42:19 -0500 |
parents | 976d9874a0bb |
children | 4d34827adc5b |
branches/tags | (none) |
files | src/main.lisp |
Changes
--- a/src/main.lisp Fri Dec 01 13:41:10 2017 -0500 +++ b/src/main.lisp Fri Dec 01 13:42:19 2017 -0500 @@ -2,6 +2,11 @@ ;;;; Utils -------------------------------------------------------------------- (defun read-file-of-digits (path) + "Read all the ASCII digits in `path` into a list of integers. + + Any character in the file that's not an ASCII digit will be silently ignored. + + " (-<> path read-file-into-string (map 'list #'digit-char-p <>)