New draft (#9) of SRFI 122: Nonempty Intervals and Generalized Arrays Arthur A. Gleckler 25 Aug 2016 23:43 UTC

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

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

Here's the diff:

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

Here are the detailed comments:

  Changes in respose to comments by John Cowan and David Kendal

  generic-arrays.scm:

  1.  Change names of functions from interval to
  make-interval, and from array to make-array.

  2.  Remove global variable
  specialized-array-default-safe?.  Add functions
  specialized-array-default-safe? and
  specialized-array-default-safe?-set!.

  3.  Use the new functions and reformat.

  test-arrays.scm:

  1.  Use the renamed functions make-interval and
  make-array.  Use the new functions
  specialized-array-default-safe? and
  specialized-array-default-safe?-set! instead of the old
  global variable specialized-array-default-safe?.

  2.  Reformat.

  srfi-122.scm:

  1.  Use make-array and make-interval instead of array and
  interval.

  2.  Remove documentation for global variable
  specialized-array-default-safe?  and add documentation for
  new functions specialized-array-default-safe?  and
  specialized-array-default-safe?-set!

  3.  Say generic-storage-class is defined "as if" by ...

  4.  Hand edit some program output to make it narrower.

  5.  Reformat.

  srfi-122.html:

  1.  Regenerate.

  More changes in response to John Cowan's suggestions.

  In generic-arrays.scm:

  1.  Redefine specialized-array-default-safe? to take an
  optional argument.  Remove
  specialized-array-default-safe?-set!.

  2.  In ##finish-specialized-array, expand the getters and
  setters for unsafe arrays of dimension > 4.

  3.  Redo checking of optional storage-class and safe?
  arguments in various procedures.

  4.  Use calls to specialized-array-default-safe? instead
  of accessing global variable
  ##specialized-array-default-safe? (which no longer
  exists).

  In srfi-122.scm:

  1.  Update documentation of
  specialized-array-default-safe?.  Remove documentation for
  specialized-array-default-safe?-set!.

  In test-arrays.scm:

  1.  Use specialized-array-default-safe?, not
  ##specialized-array-default-safe?.

  srfi-122.html:

  1.  Regenerate.

Regards,

SRFI Editor