Maybe also, instead of using `[]` as delimiters we could use `<>`, so it’s 
close to how it was before and also close to how erlang represent them on 
`:erlang.pid_to_list`.

Best,
Kelvin Stinghen
[email protected]

> On Oct 24, 2019, at 15:46, Kelvin Raffael Stinghen 
> <[email protected]> wrote:
> 
> I find very useful sometimes to copy and paste the item from a result of a 
> query for example, and as for today, PID's are printed like `#PID<0.106.0>`, 
> my proposal would be to add a `sigil_P` to `Kernel` module, so we could use 
> `~P[0.106.0]` (pretty much like `Date`s are today), and also put that as the 
> result for `Inspect.PID.inspect/2`.
> 
> If the proposal gets approved, I would be more than happy to send a PR for it.
> 
> Thanks!
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elixir-lang-core/0c7807e6-d832-4853-8a70-5999789ef380%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/elixir-lang-core/0c7807e6-d832-4853-8a70-5999789ef380%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/DFC222C8-A8F3-4D4F-A502-AB2FFD88D53A%40gmail.com.

Reply via email to