• Final SRFI 179: Nonempty Intervals and Generalized Arrays (Updated)

    From Arthur A. Gleckler@21:1/5 to All on Tue Jun 30 23:51:05 2020
    Scheme Request for Implementation 179,
    "Nonempty Intervals and Generalized Arrays (Updated),"
    by Bradley J. Lucier,
    has gone into FINAL status.

    The document and an archive of the discussion are available at <https://srfi.schemers.org/srfi-179/>.

    Here's the abstract:

    This SRFI specifies an array mechanism for Scheme. Arrays as defined
    here are quite general; at their most basic, an array is simply a
    mapping, or function, from multi-indices of exact integers
    i₀, …, i_(d − 1) to Scheme values. The set of multi-indices
    i₀, …, i_(d − 1) that are valid for a given array form the domain of
    the array. In this SRFI, each array's domain consists of the cross
    product of nonempty intervals of exact integers
    [l₀, u₀) × [l₁, u₁) × ⋯ × [l_(d − 1), u_(d − 1)) of ℤ^(d), d-tuples of
    integers. Thus, we introduce a data type called d-intervals, or more
    briefly intervals, that encapsulates this notion. (We borrow this
    terminology from, e.g., Elias Zakon's Basic Concepts of Mathematics.)
    Specialized variants of arrays are specified to provide portable
    programs with efficient representations for common use cases.

    Here is the commit summary since the most recent draft:

    - Add copy-on-failure? to specialized-array-reshape
    - Announce Draft #10.
    - Fix all errors reported by W3C HTML Validator.
    - Convert to HTML 5.
    - Add first R7RS module support
    - Draft #11
    - Remove trailing whitespace.
    - Fix spelling.
    - Fix capitalization, punctuation, and the like.
    - Switch to new standard SRFI header.
    - Fix link to match.
    - Finalize.

    Here are the diffs since the most recent draft:

    <https://github.com/scheme-requests-for-implementation/srfi-179/compare/draft-11..final>

    Many thanks to Bradley and to everyone who contributed to the discussion
    of this SRFI.

    Regards,



    SRFI Editor

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)