I'm trying to use the pipe operator (|>) to pass values from one function to another, but the results of the first function return my output and ":ok", which then effects the input of the followup |> input.
Example:
defmodule TestPipe do
def parse(msg), do: IO.puts "Parsed: #{msg}"
end
iex> "this is my message" |> Test.parse |> Test.parse
iex> Parsed: this is my message
iex> Parsed: ok
iex> :ok