adventofcode2022

My solutions for Advent of Code 2022
Log | Files | Refs

commit ff82f9bb3da918f3fae83a156fcc4dca41c399d0
parent 8f99c2c14ba2ac0380e6fa5c7735de58553d5cab
Author: Lukas Henkel <lh@entf.net>
Date:   Sun, 11 Dec 2022 20:00:18 +0100

Useless use of lambda

Diffstat:
Msrc/day11.lisp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/day11.lisp b/src/day11.lisp @@ -22,7 +22,7 @@ (push current-monkey monkeys)) ((str:starts-with-p " Starting items:" input) (setf (items current-monkey) - (mapcar (lambda (x) (parse-integer x)) + (mapcar #'parse-integer (str:split ", " (subseq input 18))))) ((str:starts-with-p " Operation:" input) (setf (operation-fun current-monkey)