defmodule AdventCode do def synthesize(input, count) do '\n' ++ rest = input IO.puts(rest) end end {File.stream!("input-1"), 0} |> Stream.map(&String.strip/1) |> Stream.map(fn ({line, x}) -> x = x + "#{line}" end) |> Stream.run