Well if `tee` gets added then this is yet another use case for it.  ^.^

On Wednesday, January 24, 2018 at 8:02:06 AM UTC-7, 
[email protected] wrote:
>
> Hi there,
>
> A friend of mine asked me how to IEx.pry inside of a pipeline, I said 
> there is no builtin functionality for this, so I sent him this code:
>
> defmodule Debugger do
>   def pipry(value) do
>     require IEx
>
>     IEx.pry()
>
>     value
>   end
> end
>
> It worked for him, but I wonder if such functionality should be builtin 
> into the language, something like a `IEx.pry/1` or `IEx.pipe_pry/1` 
> function.
>
> What do you guys think? If this sounds like a good feature for the 
> language, I would love to hear your input so I can give it a go and submit 
> a PR.
>

-- 
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/6ba16ca9-c325-4206-a53d-e83345b2fafe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to