SRFI 185: Linear adjustable-size strings

by John Cowan

status: draft (2020-02-24)

See also SRFI 13: String Libraries, SRFI 118: Simple adjustable-size strings, SRFI 130: Cursor-based string library, SRFI 140: Immutable Strings, and SRFI 152: String Library (reduced).

Abstract

Scheme specifies mutable fixed-size strings. SRFI 118 adds two procedures string-append! and string-replace! which allow the size of the string to change. This SRFI provides two linear-update versions of these procedures: that is, the implementation may change the string size or return a new string instead.