From 2afb23928e1984d475cc460e1672e8f6fa0e4dbe Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 11 Aug 2021 17:21:31 -0400 Subject: Allow clicking on header to get fragment link --- docs/doc/range.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/doc/range.html') diff --git a/docs/doc/range.html b/docs/doc/range.html index 8d73bf0b..6a8409ac 100644 --- a/docs/doc/range.html +++ b/docs/doc/range.html @@ -4,7 +4,7 @@ BQN: Range -

Range

+

Range

Range () is a monadic function that creates arrays of indices (like APL's famous iota function). Each element in the result is its own index.

↗️
     6
 ⟨ 0 1 2 3 4 5 ⟩
@@ -43,7 +43,7 @@
   ⟨ 3 0 ⟩ ⟨ 3 1 ⟩  
                   ┘
 
-

Number range

+

Number range

Calling on an atom, which must be a natural number, is the more common case. This gives us the list of natural numbers less than 𝕩 (and starting at 0, the first natural number as BQN defines it). You can also get the first b integers starting at a with a+↕b, or the natural numbers from a to b with a↓↕b.

↗️
    4
 ⟨ 0 1 2 3 ⟩
@@ -96,7 +96,7 @@
 ↗️
    ` b × 1 + ↕≠b
 ⟨ 0 2 3 3 3 3 7 7 ⟩
 
-

List range

+

List range

When the argument is a list of numbers, the result is an array of lists.

↗️
     234
 ┌─                                         
-- 
cgit v1.2.3