From 75f2168e2527dde6ca914046f31edc6ce4743dfa Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Sat, 2 Jan 2016 16:24:43 -0800 Subject: [PATCH] typo --- day13.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/day13.rkt b/day13.rkt index a3ff0ed..a84388f 100644 --- a/day13.rkt +++ b/day13.rkt @@ -83,8 +83,8 @@ We can reuse our hash table of @racket[happiness-scores], but we have to update (remove-duplicates (flatten (hash-keys happiness-scores)))) (for* ([name (in-list names)] - [proc (in-list (list list (compose1 reverse list)))]) - (hash-set! happiness-scores (proc "me" name) 0)) + [duo-proc (in-list (list list (compose1 reverse list)))]) + (hash-set! happiness-scores (duo-proc "me" name) 0)) (define table-arrangement-scores (for/list ([partial-table-arrangement (in-permutations names)])