Hi Daniel, Unfortunately changing the return type would be a backwards incompatible change.
Generally speaking, those operations are really just proxies to their Erlang counter-parts, so we keep their inputs and outputs the same. On Thu, Jun 18, 2020 at 4:54 PM J. Daniel Ashton <[email protected]> wrote: > > At this point Process.register/2 returns true. It might be more useful for > it to return the pid() or dest() that was just registered. > > Bonus proposal: Process.info/1 takes only a pid(). Would it be helpful if > Process.info/1 took a dest() ? > > With kind regards, > > Daniel > > -- > 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/7f82c600-2618-43b2-a878-76fa64224913o%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/7f82c600-2618-43b2-a878-76fa64224913o%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/CAGnRm4%2BfXcZ4wFCnz3NFXgFVceO9gFiX%3DX2d4tGhU1c5WNzguw%40mail.gmail.com.
