I've just published draft #4 of SRFI 196. It was submitted by John Cowan, co-author of the SRFI.
Here are John's comments on the draft:
finalization draft
Here is the commit summary:
- Fix bug in range-take/drop procedures: don't touch lower bounds.
- Add tests for a pseudo numeric range.
- Remove unneeded let.
- indexer constraint
- Revert "Remove unneeded let."
- Revert "Add tests for a pseudo numeric range."
- Revert "Fix bug in range-take/drop procedures: don't touch lower bounds."
- Use no-check procedures and macros internally throughout.
- subrange
- shares the same element comparator
- Add subrange.
- Add tests for element comparator equivalence.
- Fix off-by-one error in range-index-right.
- Additional tests.
- Remove non-SRFI-78-compatible test syntax.
- Minor editorial. Fix typos and kill trailing whitespace.
- copy edits
- Additional copy edits.
- indexer -> ind
- MN-W review before finalization
- numeric-range: Additional checks.
- Don't touch lower bounds.
- subrange: Use an indexer offset, as in range-drop.
- editorial
- remove comparator, -contains?, and -includes
- Revert "subrange: Use an indexer offset, as in range-drop."
- Revert "Don't touch lower bounds."
- Remove comparators and predicates.
- SRFI 42 recommendation
- link to Python ranges
- Add link to John's Github repo.
- Add preview link.
- Fix link.
- remove need for end of a numeric range to be exact
- Fix errors reported by W3C HTML Validator.
- Publish fourth draft.
Here's the diff:
https://github.com/scheme-requests-for-implementation/srfi-196/compare/draft-3..draft-4
Regards,
SRFI Editor