Parsing with clojure.spec for the Advent of Code

综合编程 2016-12-09 阅读原文

09 Dec 2016

Advent 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:

责编内容by:thegeez blog 【阅读原文】。感谢您的支持!