Skip to content

Instantly share code, notes, and snippets.

@monkeygroover
Last active February 2, 2019 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkeygroover/ea8d05ef8ce39dd0ca89c7806d9309ce to your computer and use it in GitHub Desktop.
Save monkeygroover/ea8d05ef8ce39dd0ca89c7806d9309ce to your computer and use it in GitHub Desktop.
advent_of_code 1.1
#! /usr/bin/env elixir
IO.stream(:stdio, :line)
|> Stream.map(&String.trim/1)
|> Stream.map(&String.to_integer/1)
|> Enum.sum
|> IO.inspect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment