Skip to content

Commit

Permalink
Add arrows to the punctuation list. (JuliaLang#35990)
Browse files Browse the repository at this point in the history
* Add arrow punctuation to the list.

My first time using Github. I don't know what I'm doing.

* Update punctuation.md

* Update doc/src/base/punctuation.md

Thanks for your help!

Co-authored-by: Matt Bauman <[email protected]>

* Update doc/src/base/punctuation.md

Co-authored-by: Matt Bauman <[email protected]>

* Removed all end of line periods for consistency.

Co-authored-by: Matt Bauman <[email protected]>
  • Loading branch information
2 people authored and simeonschaub committed Aug 11, 2020
1 parent ef67b28 commit 98da056
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/src/base/punctuation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Extended documentation for mathematical symbols & functions is [here](@ref math-
| `=#` | end a multi-line comment by immediately preceding the number sign with an equals sign |
| `$` | the dollar sign is used for [string](@ref string-interpolation) and [expression](@ref man-expression-interpolation) interpolation |
| [`%`](@ref rem) | the percent symbol is the remainder operator |
| [`^`](@ref) | the caret is the exponentiation operator. |
| [`^`](@ref) | the caret is the exponentiation operator |
| [`&`](@ref) | single ampersand is bitwise and |
| [`&&`](@ref)| double ampersands is short-circuiting boolean and |
| [`\|`](@ref)| single pipe character is bitwise or |
Expand Down Expand Up @@ -53,4 +53,6 @@ Extended documentation for mathematical symbols & functions is [here](@ref math-
| [`>:`](@ref)| supertype operator (reverse of subtype operator) |
| `=` | single equals sign is [assignment](@ref man-variables) |
| [`==`](@ref)| double equals sign is value equality comparison |
| [`===`](@ref) | triple equals sign is programmatically identical equality comparison. |
| [`===`](@ref) | triple equals sign is programmatically identical equality comparison |
| [`=>`](@ref Pair) | right arrow using an equals sign defines a [`Pair`](@ref) typically used to populate [dictionaries](@ref Dictionaries) |
| `->` | right arrow using a hyphen defines an [anonymous function](@ref man-anonymous-functions) on a single line |

0 comments on commit 98da056

Please sign in to comment.