From 8068e7651616bf44c0ce3912e29809af66f2d062 Mon Sep 17 00:00:00 2001 From: nathanrboyer <65452054+nathanrboyer@users.noreply.github.com> Date: Thu, 28 May 2020 09:14:10 -0400 Subject: [PATCH] Add arrows to the punctuation list. (#35990) * 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 * Update doc/src/base/punctuation.md Co-authored-by: Matt Bauman * Removed all end of line periods for consistency. Co-authored-by: Matt Bauman --- doc/src/base/punctuation.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/src/base/punctuation.md b/doc/src/base/punctuation.md index 50e4161947a28..c91df5e3f2ea6 100644 --- a/doc/src/base/punctuation.md +++ b/doc/src/base/punctuation.md @@ -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 | @@ -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 |