Skip to content

Link to ! docs in Kernel.send/2 #13545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/elixir/lib/kernel.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,9 @@ defmodule Kernel do
registered name, or a tuple in the form of `{registered_name, node}` for a
registered name at another node.

For additional documentation, see the [`!` operator Erlang
documentation](https://www.erlang.org/doc/reference_manual/expressions#send).
Comment on lines +1109 to +1110
Copy link
Member

@wojtekmach wojtekmach May 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps worth mentioning :erlang.send/2 too? Especially that (TIL) there's a send/3 in there too.

Suggested change
For additional documentation, see the [`!` operator Erlang
documentation](https://www.erlang.org/doc/reference_manual/expressions#send).
For additional documentation, see `:erlang.send/2` and
[`!` operator](https://www.erlang.org/doc/reference_manual/expressions#send)
Erlang documentation.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should link to Process.send/3 and link out to all the info there I think.


Inlined by the compiler.

## Examples
Expand Down
Loading