diff options
author | lamp | 2023-12-02 12:11:50 +0000 |
---|---|---|
committer | lamp | 2023-12-02 12:11:50 +0000 |
commit | 78232b574dc4eba001d536a865c115582c4e2325 (patch) | |
tree | b20548f93b11b40e7d53cb9b60353ca114fa49bc /2.scm | |
parent | a280deda223102a64e59c50a5adb7d4b700a07de (diff) |
day 2: tidy
Diffstat (limited to '2.scm')
-rwxr-xr-x | 2.scm | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -29,8 +29,6 @@ (valid? (fold (lambda (x y) (and x y)) #t (map valid-triplet? rest)))) (if valid? id 0))) -(line-value "Game 38: 2 blue, 4 green, 11 red; 7 green, 6 red, 2 blue; 1 green, 3 red, 1 blue; 4 blue, 4 green, 4 red; 2 red, 5 blue, 2 green") - (let* ((port (open-input-file "2.txt")) (lines (read-lines port))) (close-port port) |