Advent of Code 2024 - Day 1

I was looking for a way to read file from web so this is very handy, also the left right into tuple if something I haven’t worked out in elixir yet, so again useful.

Part 1 you could
!> Enum.reduce(0, fn {a, b}, acc → acc + abs(a - b) end)

and remove the sum step I believe