Previous: Naming convention of libraries, Up: Library modules - Overview [Contents][Index]
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.
Renamed to gauche.unicode
. See gauche.unicode
- Unicode utilities.
Dissolved into the core. No longer needed.
Renamed to data.queue
. See data.queue
- Queue.
Incorporated into the core as built-in object <tree-map>
.
See Treemaps.
The following procedures are aliases of the ones with replacing
rbtree
for tree-map
, e.g. rbtree-get
is
the same as tree-map-get
.
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 tree-map-min
,
tree-map-max
, tree-map-pop-min!
and tree-map-pop-max!
,
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.
rbtree-check
Renamed to data.sparse
. See data.sparse
- Sparse data containers.
Renamed to data.trie
. See data.trie
- Trie.
SRFI-1 (List library) has become a part of R7RS large, as scheme.list
.
See scheme.list
- R7RS lists.
SRFI-14 (Character-set library) has become a part of R7RS large,
as scheme.charset
.
See scheme.charset
- R7RS character sets.
Vector library (Legacy) -
this module is effectively superseded by R7RS and srfi.133
.
See Vectors, and see scheme.vector
- R7RS vectors.
Integers as bits - this module is superseded by srfi.151
.
See scheme.bitwise
- R7RS bitwise operations.
Basic hash tables - this module is superseded by R7RS scheme.hash-table
.
See scheme.hash-table
- R7RS hash tables.
SRFI-111 (Boxes) has become a part of R7RS scheme.box
module.
See scheme.box
- R7RS boxes.
SRFI-113 (Sets and bags) has become a part of R7RS scheme.set
.
See scheme.set
- R7RS sets.
Comparators - R7RS favored SRFI-128 over this srfi
to make scheme.comparator
(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
.
See scheme.list-queue
- R7RS list queues.
SRFI-127 has become R7RS’s scheme.lseq
.
See scheme.lseq
- R7RS lazy sequences.
SRFI-132 has become R7RS’s scheme.sort
.
See scheme.sort
- R7RS sort.
SRFI-133 has become R7RS’s scheme.vector
.
See scheme.vector
- R7RS vectors.
Previous: Naming convention of libraries, Up: Library modules - Overview [Contents][Index]