AdventOfCodeHelper (Advent of Code Elixir Helper v0.3.1)
Provides an interface to get input values for Advent of Code puzzles
Link to this section Summary
Functions
Return input values for most recent year
Returns input values
Splits the string input into a list, using a given separator.
Splits the string input into a stream, using a given separator.
Link to this section Functions
Link to this function
calculate_year()
Link to this function
get_input(day)
Specs
Return input values for most recent year
Parameters
- day: Int that represents day of puzzle
Link to this function
get_input(year, day)
Specs
Returns input values
Parameters
- year: Int that represents year of puzzle
- day: Int that represents day of puzzle
Link to this function
split_to_list(input, sep \\ "\n", trim \\ false)
Specs
Splits the string input into a list, using a given separator.
Link to this function
split_to_stream(input, sep \\ "\n", trim \\ false)
Specs
split_to_stream(String.t(), String.t(), boolean()) :: Enumerable.t()
Splits the string input into a stream, using a given separator.