New draft (#15) of SRFI 122: Nonempty Intervals and Generalized Arrays Arthur A. Gleckler 15 Dec 2016 23:32 UTC

I've just published draft #15 of SRFI 122.  It was submitted
by Bradley J. Lucier, author of SRFI 122.

<http://srfi.schemers.org/srfi-122/>

Here's the diff:

<https://github.com/scheme-requests-for-implementation/srfi-122/pull/15>

Here are Bradley's comments on this draft:

  Changes to generic-arrays.scm:

    Rewording of various error messages.

    Renamed interval-curry to interval-projections; change
    callers.

    Renamed interval-intersect? to interval-intersect;
    change callers.

    Refactored code to define ##interval->basic-indexer.

    Rename specialized-array to make-specialized-array;
    change callers.

    Use ##interval->basic-indexer in make-specialized-array.

    In array->specialized-array, use properties of the
    generic-storage-class and the basic-indexer to change
    calls to closures to calls to primitives.

    Define array-every and array-any.

    Remove array-every?.

  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  Changes to test-arrays.scm:

    Accomodate the following name changes in generic-arrays.scm:
      interval-curry -> interval-projections
      interval-intersect? -> interval-intersect
      specialized-array -> make-specialized-array
      array-every? -> array-every

    Adjust tests for reworded error messages.

    Add some tests for array-any and array-every.

  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  Changes to srfi-122.scm:

    Accomodate the following name changes in generic-arrays.scm:
      interval-curry -> interval-projections
      interval-intersect? -> interval-intersect
      specialized-array -> make-specialized-array
      array-every? -> array-every

    Reorder lists of names at the beginning of "Specification"
    section to match order of items in body of document.

    User <pre> instead of <blockquote> in more places to
    make formatting of code examples more consistent.

    Storage-class is now a distinct type.

    Correct argument order in make-storage-class example.

    Add storage-class-length documentation.

    Make clear that array?, mutable-array?, and
    specialized-array?  return only #t or #f.

    Correct several instances of specialized-array-indexer
    to array-indexer.

    Introduce and use function flip-multi-index in
    description of array-reverse.

    Fix array-scale -> array-sample.

    Use "procedure" instead of "function" to describe Scheme
    procedures.

    Add documentation for array-any and array-every.

    Add a storage-class to the example of reading a PGM
    image file.

    Add an acknowledgments section.

  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

  Changes to srfi-122.html:

    Regenerate from srfi-122.scm.

  Commit Summary

  * Changes based on comments

  File Changes

  * M generic-arrays.scm (652)
  * M srfi-122.html (333)
  * M srfi-122.scm (328)
  * M test-arrays.scm (223)

Regards,

SRFI Editor