From 4098cbf57bf596bbad2d107f923caba8b701277a Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Mon, 21 Dec 2020 17:15:57 -0500 Subject: Specify the remaining provided functions for reference.bqn --- docs/spec/primitive.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'docs/spec/primitive.html') diff --git a/docs/spec/primitive.html b/docs/spec/primitive.html index f2bd43bb..118cff41 100644 --- a/docs/spec/primitive.html +++ b/docs/spec/primitive.html @@ -40,3 +40,31 @@
  • Block instances are equal if they are the same instance.
  • This means that block instance equality indicates identity in the context of mutability: two block instances are equal if any change of state in one would be reflected in the other as well. The concept of identity holds even if the blocks in question have no way of changing or accessing state. For example, ={𝕩{𝕩}}˜@ is 0 while =˜{𝕩{𝕩}}@ is 1.

    +

    Array functionality

    +

    Several subsets of primitives, or dedicated operations, are used to manipulate arrays in the reference implementation.

    + +

    The following functions translate between arrays and the two lists that define them: the shape and ravel.

    + +

    The following functions manipulate lists. In these functions, a valid index for list l is a natural number less than the length of l.

    + +

    Inferred functionality

    +

    Inferred properties are specified in their own document, not in the reference implementation.

    + +

    Other provided functionality

    + -- cgit v1.2.3