This commit is contained in:
bluepython508
2023-12-05 21:20:45 +00:00
parent ce5e83baa4
commit 5e38e1e887
6 changed files with 125 additions and 0 deletions

View File

@@ -33,5 +33,9 @@ defmodule Aoc2023.Common do
def id(x), do: x
def const(_, x), do: x
def lines(x), do: String.split(x, "\n")
def head([head | _]), do: head
def tail([_ | tail]), do: tail
end