jab
2016-11-14 05:41:20

lexi.lambda: randomly had a chance to get back to my silly checkerboard challenge from a couple weekends ago and ended up with this: https://gist.github.com/jab/45b9a4c5e47ff8448064562a2f69dd70 — realized I could just use a #(“red” “black”) vector with a “clever” ((row + col) % 2) index to get the color of the current cell, no need for cycle or data/collections. Not sure if the code in that gist is idiomatic Racket, and suggestions always more than welcome, but pretty happy to have gotten to this point for now at least.