/enontekio

Utilities to solve Advent of Code puzzles

Primary LanguageRust

Enontekio

Enontekio is a Rust library containing utilities frequently used to solve problems with data extraction and manipulation, like Advent of Code puzzles.

Enontekïo is a city in Lapland, and as Advent of Code uses the elves' myth, that was a suitable name for this library.

Parser

Those functions allow to parse a file line by line, and map lines to specific types.

Ops

Ranges

Describe how two ranges intersect.

Code is based on a fork of the range-ext crate by Anicka Burova. https://github.com/AnickaBurova/range-ext

License

Licensed under BSD-2-Clause.