From 6199324ebc4c6a5248fcfd941f0133c2927e9d77 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Thu, 31 Dec 2015 10:49:05 -0800 Subject: [PATCH] typo --- day6.scrbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/day6.scrbl b/day6.scrbl index 729ca46..fb943e4 100644 --- a/day6.scrbl +++ b/day6.scrbl @@ -107,9 +107,9 @@ Since the only part that changes between the solutions is the bulb functions, we (count-lights lights)) (define (make-str-converter bulb-func-converter) - (λ (line) + (λ (str) (match-define (list* _ action coordinates) - (regexp-match #px"^(.*?)(\\d+),(\\d+) through (\\d+),(\\d+)$" line)) + (regexp-match #px"^(.*?)(\\d+),(\\d+) through (\\d+),(\\d+)$" str)) (list* (bulb-func-converter (string-trim action)) (map string->number coordinates))))