For Development HEAD DRAFTSearch (procedure/syntax/module):

8.3 Obsolete and superseded modules

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.

Obsolete modules

Module: text.unicode

Renamed to gauche.unicode. See gauche.unicode - Unicode utilities.

Module: util.list

Dissolved into the core. No longer needed.

Module: util.queue

Renamed to data.queue. See data.queue - Queue.

Module: util.rbtree

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
Module: util.sparse

Renamed to data.sparse. See data.sparse - Sparse data containers.

Module: util.trie

Renamed to data.trie. See data.trie - Trie.

Superseded modules

Module: srfi.1

SRFI-1 (List library) has become a part of R7RS large, as scheme.list. See scheme.list - R7RS lists.

Module: srfi.14

SRFI-14 (Character-set library) has become a part of R7RS large, as scheme.charset. See scheme.charset - R7RS character sets.

Module: srfi.43

Vector library (Legacy) - this module is effectively superseded by R7RS and srfi.133. See Vectors, and see scheme.vector - R7RS vectors.

Module: srfi.60

Integers as bits - this module is superseded by srfi.151. See scheme.bitwise - R7RS bitwise operations.

Module: srfi.69

Basic hash tables - this module is superseded by R7RS scheme.hash-table. See scheme.hash-table - R7RS hash tables.

Module: srfi.111

SRFI-111 (Boxes) has become a part of R7RS scheme.box module. See scheme.box - R7RS boxes.

Module: srfi.113

SRFI-113 (Sets and bags) has become a part of R7RS scheme.set. See scheme.set - R7RS sets.

Module: srfi.114

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.

Module: srfi.117

SRFI-117 has become R7RS’s scheme.list-queue. See scheme.list-queue - R7RS list queues.

Module: srfi.127

SRFI-127 has become R7RS’s scheme.lseq. See scheme.lseq - R7RS lazy sequences.

Module: srfi.132

SRFI-132 has become R7RS’s scheme.sort. See scheme.sort - R7RS sort.

Module: srfi.133

SRFI-133 has become R7RS’s scheme.vector. See scheme.vector - R7RS vectors.



For Development HEAD DRAFTSearch (procedure/syntax/module):
DRAFT