Add project structure and Day 00 code (2019/Day 01)
[adventofcode2020.git] / src / utilities.lisp
CommitLineData
3ef62a9d
JK
1(in-package #:adventofcode2020)
2
3;;; Utility functions
4
5(defun list-from (str)
6 (split "\\n" str))
7
8(defun int-list-from (str)
9 (mapcar #'parse-integer (split "\\n" str)))