Final SRFI 224: Integer Mappings

Skip to first unread message

Arthur A. Gleckler

Jun 30, 2021, 8:28:00 PMJun 30
Scheme Request for Implementation 224,
"Integer Mappings,"
by Wolfgang Corcoran-Mathe,
has gone into FINAL status.

The document and an archive of the discussion are available at

Here's the abstract:

Integer maps, or fxmappings, are finite sets, where each element is
an association between a fixnum (exact integer) key and an arbitrary
Scheme object. They are similar to the general mappings of SRFI 146,
but the restricted key-type allows implementations of fxmappings to
benefit from optimized structures and algorithms. This library
provides a rich set of operations on fxmappings, including analogues
of most of the forms provided by SRFI 146. Fxmappings have no
intrinsic order, but may be treated as ordered sets, using the
natural ordering on keys; a substantial sublibrary for working with
fxmappings in this fashion is included.

Here is the commit summary since the most recent draft:

- Fix typo.
- Fix typo in example.
- copy edits
- Link to Wikipedia definition of trichotomy law.
- Don't use lower-case names at starts of sentences.
- Fix example. `srfi-alist' doesn't return two values.
- Wrap examples to avoid horizontal scrolling.
- Finalize.

Here are the diffs since the most recent draft:


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


SRFI Editor
Reply all
Reply to author
0 new messages