I might participate to the Advent of Code for the first time this year. Gave a late try to the first day, and it was a nice opportunity to mess with the Seq module from the OCaml standard library.
Seq.memoize to make sure we only read our input file once.