[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

functional variants of string-set! and string-fill!

This page is part of the web mail archives of SRFI 13 from before July 7th, 2015. The new archives for SRFI 13 contain all messages, not just those from before July 7th, 2015.

To support pure functional programming, it seems to me that there ought to
be two new procedures:

    (string-set string i char) -> string
    (string-fill s char [start end]) -> string

which would be like their "!" brethren, except they return new strings
instead of altering their arguments.