Definitely support this! Sure there's c.pid/3 but it would be awesome, if
pid's were copy-paste-able

On Thu, 24 Oct 2019 at 21:54, Allen Madsen <[email protected]> wrote:

> I'm +1 for this.
>
> Allen Madsen
> http://www.allenmadsen.com
>
>
> On Thu, Oct 24, 2019 at 3:33 PM Kelvin Raffael Stinghen <
> [email protected]> wrote:
>
>> 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].
>> 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
>> <https://groups.google.com/d/msgid/elixir-lang-core/DFC222C8-A8F3-4D4F-A502-AB2FFD88D53A%40gmail.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/CAK-y3Cu2C_vfmyWU13rAsHM3xy-KEBTUd-ey78Uj0JdC-3xg1Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/elixir-lang-core/CAK-y3Cu2C_vfmyWU13rAsHM3xy-KEBTUd-ey78Uj0JdC-3xg1Q%40mail.gmail.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/CAFuVuxxvhmYMhPGjzwHGX4pLm0Kyhy1vYh82mzoz3U2WtYq7Fg%40mail.gmail.com.

Reply via email to