Module aoc::year2015::day01

source ·
Expand description

§Not Quite Lisp

The input is first converted into bytes. This is safe as it contains only ASCII characters. Then each parenthesis is parsed into either +1 or -1, treating the trailing newline as a special case of 0.

Functions§