# Use and Documentation of -\> and =\>

**URL:** <https://discourse.julialang.org/t/use-and-documentation-of-and/39882>\
**Category:** New to Julia\
**Tags:** question, documentation\
**Created:** [May 21, 2020, 3:07pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882 "2020-05-21T15:07:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan\_Boyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nathan_boyer/32/14825_2.png) [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Post date:** [May 21, 2020, 3:07pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882/1 "2020-05-21T15:07:10Z")

</div>

Newbie here.

`->` and `=>` are not in the [punctuation list of the Julia documentation](https://docs.julialang.org/en/v1/base/punctuation/). Can they be added or are they not applicable for some reason?

I have gathered that `->` is used to define anonymous functions and `=>` is used to define key-value pairs in dictionaries. Are there other applications I am missing?

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [May 21, 2020, 3:09pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882/2 "2020-05-21T15:09:45Z")

</div>

That’s exactly it! They should definitely be added.

---

<div class="post-metadata">

**Author:** ![Nathan\_Boyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nathan_boyer/32/14825_2.png) [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Post date:** [May 22, 2020, 12:45pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882/3 "2020-05-22T12:45:46Z")

</div>

Is there something I should do to facilitate their addition?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [May 22, 2020, 1:15pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882/4 "2020-05-22T13:15:08Z")

</div>

Making a PR would be best.

---

<div class="post-metadata">

**Author:** ![Nathan\_Boyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nathan_boyer/32/14825_2.png) [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Post date:** [May 22, 2020, 1:18pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882/5 "2020-05-22T13:18:23Z")

</div>

I don’t know what that is.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [May 22, 2020, 1:22pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882/6 "2020-05-22T13:22:27Z")

</div>

A pull request, ie explicitly making the desired change to the documentation. See

> <https://github.com/JuliaLang/julia/blob/master/CONTRIBUTING.md#improving-documentation>

---

<div class="post-metadata">

**Author:** ![Henrique\_Becker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrique_becker/32/15443_2.png) [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Post date:** [May 22, 2020, 2:06pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882/7 "2020-05-22T14:06:23Z")

</div>

While I think the link @Tamas_Papp has pointed is worth reading. I would like to be a little more specific and less overwhelming, and just point that for documentation, you can just be logged into your Github account, go to [julia/punctuation.md at master · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/blob/master/doc/src/base/punctuation.md) and click the small pencil that has a hovertext of “Fork this project and edit the file”. After this you will be making the changes in your version of the julia repository, and there will be a button somewhere to do a pull request, that is kinda of offering the changes you made in your fork (i.e., copy of the repository) to the original repository you forked. The Julia developers will be notified, they may ask some changes (that you can do by editing the file in your fork by the Github interface) and then they will aprove it and it will be merged to the original/official Julia repository.

---

<div class="post-metadata">

**Author:** ![Nathan\_Boyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nathan_boyer/32/14825_2.png) [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Post date:** [May 22, 2020, 3:21pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882/8 "2020-05-22T15:21:17Z")

</div>

Well I tried. [Add arrows to the punctuation list. by nathanrboyer · Pull Request #35990 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/pull/35990)

I don’t know if I used the right formatting or language though.
