From f4e3c645aba50d99e175f269a7e8a58d88bfeb88 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Mon, 9 Dec 2019 08:50:28 -0800 Subject: [PATCH] Update README.md --- 2019/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/2019/README.md b/2019/README.md index 0518f17..10afd3b 100644 --- a/2019/README.md +++ b/2019/README.md @@ -6,6 +6,12 @@ * In particular, [these list functions](https://docs.racket-lang.org/reference/pairs.html?q=racket%2Flist#%28part._.Additional_.List_.Functions_and_.Synonyms%29) are very useful. +* `eq?` is the fastest equality check, but it only works for symbols and fixnums (therefore, use more symbols and fixnums so you can use `eq?`!) + +* `match` is fantastic. + +* Association lists (= lists of pairs) can be used with the dictionary forms (like `dict-ref` and `in-dict`) + * The `graph` library can be useful for graph-based problems. ## My solutions