From 8063d547e0fc3d0e9d271bce79d357d61c2525bd Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Mon, 5 Jul 2021 21:43:35 -0400 Subject: Tutorial documentation links --- docs/tutorial/combinator.html | 16 ++++++++-------- docs/tutorial/expression.html | 2 +- docs/tutorial/list.html | 6 +++--- tutorial/combinator.md | 20 ++++++++++---------- tutorial/expression.md | 2 +- tutorial/list.md | 4 ++-- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/tutorial/combinator.html b/docs/tutorial/combinator.html index 4a59b958..9d787bd9 100644 --- a/docs/tutorial/combinator.html +++ b/docs/tutorial/combinator.html @@ -611,32 +611,32 @@ < -Less Than +Less Than > -Greater Than +Greater Than -Length -Not Equals +Length +Not Equals = -Rank -Equals +Rank +Equals -Less Than or Equal to +Less Than or Equal to -Greater Than or Equal to +Greater Than or Equal to diff --git a/docs/tutorial/expression.html b/docs/tutorial/expression.html index ee088ee4..eb039362 100644 --- a/docs/tutorial/expression.html +++ b/docs/tutorial/expression.html @@ -408,7 +408,7 @@ Functions + -Plus +Plus (arithmetic docs) diff --git a/docs/tutorial/list.html b/docs/tutorial/list.html index 89aab6ec..4be4f920 100644 --- a/docs/tutorial/list.html +++ b/docs/tutorial/list.html @@ -420,13 +420,13 @@ ERROR -Range +Range ¨ -Each -Each +Each +Each ´ diff --git a/tutorial/combinator.md b/tutorial/combinator.md index 6dac8f3e..77c77d8c 100644 --- a/tutorial/combinator.md +++ b/tutorial/combinator.md @@ -295,16 +295,16 @@ With the still-mysterious trains, this function could even be cleaned up more, r BQN has a full complement of comparison functions, which are pervasive (work on atoms only) like arithmetic functions. The non-pervasive functions Match (`≡`) and Not Match (`≢`) compare entire arrays. Comparison functions return `1` if the comparison holds and `0` if it doesn't; these two numbers make up the "booleans". -Glyph | 1 arg | 2 args -------|--------------------------|-------- -`<` | | Less Than -`>` | | Greater Than -`≠` | Length | Not Equals -`=` | Rank | Equals -`≤` | | Less Than or Equal to -`≥` | | Greater Than or Equal to -`≡` | [Depth](../doc/depth.md) | [Match](../doc/match.md) -`≢` | | [Not Match](../doc/match.md) +Glyph | 1 arg | 2 args +------|---------------------------|-------- +`<` | | [Less Than](../doc/arithmetic.md#comparisons) +`>` | | [Greater Than](../doc/arithmetic.md#comparisons) +`≠` | [Length](../doc/shape.md) | [Not Equals](../doc/arithmetic.md#comparisons) +`=` | [Rank](../doc/shape.md) | [Equals](../doc/arithmetic.md#comparisons) +`≤` | | [Less Than or Equal to](../doc/arithmetic.md#comparisons) +`≥` | | [Greater Than or Equal to](../doc/arithmetic.md#comparisons) +`≡` | [Depth](../doc/depth.md) | [Match](../doc/match.md) +`≢` | | [Not Match](../doc/match.md) A combinator is a function or modifier that produces its result from its inputs purely by applying functions to arguments, without introducing any external values. BQN's combinators can all be described with diagrams showing how arguments are passed through operands, with the result emerging at the top. The diagrams below define six combinators in BQN. diff --git a/tutorial/expression.md b/tutorial/expression.md index 813e751f..257d481b 100644 --- a/tutorial/expression.md +++ b/tutorial/expression.md @@ -215,7 +215,7 @@ The objects we've seen so far are: |-------------|----------|--------- | Numbers | `1.2e3`, `π` | Characters | `'c'`, `@` -| Functions | `+` | Plus +| Functions | `+` | Plus ([arithmetic docs](../doc/arithmetic.md)) | | `-` | Minus, Negate | | `×` | Times | | `÷` | Divide, Reciprocal diff --git a/tutorial/list.md b/tutorial/list.md index a4b98224..a9fa6471 100644 --- a/tutorial/list.md +++ b/tutorial/list.md @@ -240,8 +240,8 @@ Glyph | 1 arg | 2 args `∾` | [Join](../doc/join.md) | [Join To](../doc/join.md) `≍` | [Solo](../doc/couple.md) | [Couple](../doc/couple.md) `⌽` | [Reverse](../doc/reverse.md) | [Rotate](../doc/reverse.md#rotate) -`↕` | Range | -`¨` | Each | Each +`↕` | [Range](../doc/range.md) | +`¨` | [Each](../doc/map.md) | [Each](../doc/map.md#each) `´` | [Fold](../doc/fold.md#fold) Additionally, we saw that the arithmetic functions work naturally on lists, automatically applying to every element of a single list argument or pairing up the elements of two list arguments. -- cgit v1.2.3