diff options
-rwxr-xr-x | 4-2.scm | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -25,11 +25,6 @@ (lines (read-lines port)) (cards (map parse lines))) (close-port port) - ;; (while (< index (length cards)) - ;; (do ((i 1 (1+ i))) ((> i (cdr (list-ref cards index)))) - ;; (set! cards (append cards `(,(assoc (+ (car (list-ref cards index)) i) cards))))) - ;; (set! index (1+ index))) - ;; (display (length cards)) (do ((i 0 (1+ i))) ((= i (length cards))) (do ((j 1 (1+ j))) ((> j (car (list-ref cards i)))) (let ((card (list-ref cards (+ i j)))) |