During the course of development of Gauche, some modules have been renamed, merged, or dissolved into the core. Also, some SRFI libraries become standard and given a new name, or superseded with a newer SRFI library.
We list such modules here for the reference. New code shouldn’t use these modules, although they are kept in the distribution so that legacy code can keep running.
Dissolved into the core. No longer needed.
Incorporated into the core as built-in object
The following procedures are aliases of the ones with replacing
the same as
make-rbtree rbtree? rbtree-get rbtree-put! rbtree-delete! rbtree-exists? rbtree-empty? rbtree-update! rbtree-push! rbtree-pop! rbtree-num-entries rbtree->alist alist->rbtree rbtree-keys rbtree-values rbtree-copy rbtree-fold rbtree-fold-right
The following procedures are similar to
respectively, except that the
rbtree-* version takes an optional
default argument and returns it when the tree is empty, and raise an
error if no default argument is provided and tree is empty. (The tree-map
version just returns
#f for the empty tree.)
rbtree-min rbtree-max rbtree-extract-min! rbtree-extract-max!
The following procedure doesn’t have corresponding API in tree-map. It checks internal consistency of the given tree-map.
SRFI-1 (List library) has become a part of R7RS large, as
scheme.list - R7RS lists.
SRFI-14 (Character-set library) has become a part of R7RS large,
scheme.charset - R7RS character sets.
Integers as bits - this module is superseded by
scheme.bitwise - R7RS bitwise operations.
Basic hash tables - this module is superseded by R7RS
scheme.hash-table - R7RS hash tables.
SRFI-111 (Boxes) has become a part of R7RS
scheme.box - R7RS boxes.
SRFI-113 (Sets and bags) has become a part of R7RS
scheme.set - R7RS sets.
Comparators - R7RS favored SRFI-128 over this srfi
scheme.comparator - R7RS comparators),
so adoption of this srfi may not be as wide.
Note that, in Gauche, a native comparator object can be used for SRFI-114 procedures, and this module provides some useful additional utilities. It’s ok to use this module if portability isn’t a big issue.
SRFI-117 has become R7RS’s
scheme.list-queue - R7RS list queues.