Is it possible to reduce a Stream in elixir?
I see Stream.scan but it does not return the accumulator.
file_stream
|> Stream.each(&parse_line/1)
|> Enum.reduce(&reduce_fn/2)
I seem to be running into issues with the follow but was wondering if it is okay to do?