From ef84cc428ec0f22aa2fcdc21c8669843c27c7727 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Thu, 14 Apr 2022 21:52:59 -0400 Subject: Remove the different-from-APL asterisks from the primitive table --- docs/doc/primitive.html | 66 ++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'docs') diff --git a/docs/doc/primitive.html b/docs/doc/primitive.html index 44a0e14b..db9140b6 100644 --- a/docs/doc/primitive.html +++ b/docs/doc/primitive.html @@ -9,7 +9,7 @@

Primitives have no side effects other than errors, and can't perform infinite computations, except when a primitive modifier calls an operand function that does one of these things (this can only happen when arguments are passed, as primitive modifiers are always deferred). Side effects here include both writing state such as variables or printed output, and reading any outside state, so that a function without them always returns the same result if passed the same arguments. Since trains and list notation have the same nice properties, tacit code written entirely with primitives, trains, and lists always describes finite, self-contained computations.

Recursion is the primary way to perform potentially infinite computations in BQN, and it can be packaged into control structures like While for ease of use. A given BQN implementation might also provide system values for "impure" tasks like file access or other I/O.

Functions

-

Functions that have significant differences from APL equivalents or don't appear in APL are marked with an asterisk.

+

A function call with one argument (prefix) is called "monadic" and one with two arguments (infix) is "dyadic".

@@ -62,17 +62,17 @@ - + - + - - + + @@ -91,7 +91,7 @@ - + @@ -101,7 +101,7 @@ - + @@ -111,7 +111,7 @@ - + @@ -132,47 +132,47 @@ - + - + - - + + - - + + - + - + - + - - + + - - + + @@ -181,8 +181,8 @@ - - + + @@ -201,23 +201,23 @@ - - + + - + - + - - + + @@ -231,13 +231,13 @@ - - + + - - + +
Sort UpAnd*And
Sort DownOr*Or
¬Not*Span*NotSpan
|
>Merge*Merge Greater Than
=Rank*Rank Equals
Depth*Depth Match
DeshapeReshape*Reshape
Join*Join Join to
Solo*Couple*SoloCouple
Enlist*Pair*EnlistPair
Prefixes*Prefixes Take
Suffixes*Suffixes Drop
RangeWindows*Windows
»Nudge*Shift Before*NudgeShift Before
«Nudge Back*Shift After*Nudge BackShift After
Transpose*Reorder axes*TransposeReorder axes
/
First Cell*Select*First CellSelect
FirstPick*Pick
Classify*Classify Index of
Occurrence Count*Progressive Index of*Occurrence CountProgressive Index of
Group Indices*Group*Group IndicesGroup
!Assert*Assert with Message*AssertAssert with Message
-- cgit v1.2.3