Powered by AppSignal & Oban Pro

Advent of Code 2021 - Day X

2021/day00.livemd

Advent of Code 2021 - Day X

Setup

Mix.install([
  {:kino, "~> 0.4.1"}
])
example_input = Kino.Input.textarea("Please enter the example input:")
my_input = Kino.Input.textarea("Please enter your input:")
defmodule Parser do
  def parse_input(input) do
    input
  end
end

example_input =
  example_input
  |> Kino.Input.read()
  |> Parser.parse_input()

my_input =
  my_input
  |> Kino.Input.read()
  |> Parser.parse_input()

:ok

Part 1