Parsing with clojure.spec for the Advent of Code
09 Dec 2016Advent of Code is a series of code challenges in the form of an advent calender, counting down to Christmas. The challenges have inputs in the form of strings. Clojure.spec can be used to parse those inputs and turn them into useful data. The gist below works through some examples: