Errata for SRFI 125: Intermediate hash tables
Arthur A. Gleckler 13 Sep 2017 03:17 UTC
I've just published fixes for errata for SRFI 125. The
changes were submitted by Shiro Kawai, and have been
approved by co-author John Cowan, so I have incorporated
them into the public document and added a note to the Status
section. One of these errors is really a clarification, but
I'm interpreting it as an error because explaining the case
of popping from an empty table is an obvious and important
omission.
Here are Mr. Kawai's comments:
There's no mention what will happen when the table is
empty, which implies it is an error (or 'undefined
behavior'). But it's a bit ambiguous from the current
document and reference implementation---the latter is
written in the way that it returns a single unspecified
value when the table is empty.
The suggested change clarify that such operation is an
error, and update the reference implementation to detect
the case.
Since it does change the behavior of reference
implementation, as well as the srfi document, it might not
be qualified as post-finalization erratum. If so, please
reject.
Here's the diff:
<https://github.com/scheme-requests-for-implementation/srfi-125/compare/7f54a91a436094b8559694ced314043c4f1873c8...79cdf22c528fd1f93aba99251379efc80085f021>
Regards,
SRFI Editor