Hey all!

Is it possible to implement =|> pipeline operator which behaves as:

conn = conn |> put_req_header( "accept", "application/json")
                     |> get( page_path( conn, :index))

is equivalent to:

conn =|> put_req_header( "accept", "application/json")
           |> get( page_path( conn, :index))

It's a little bit annoying to write the conn = conn |> … construction
in phoenix tests over and over again.

————————
Valentin Vasilev
mailto: [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/6166a5a0-5d18-423e-83ff-fbb65b127bd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to