Am Di., 17. Aug. 2021 um 22:40 Uhr schrieb Shiro Kawai <xxxxxx@gmail.com>:
On Tue, Aug 17, 2021 at 9:22 AM Marc Nieper-Wißkirchen <xxxxxx@gmail.com> wrote:


A slightly less lenient way would be to drop the two type predicates and to unite them into one.

I think textual? is intended for that.

If the type predicates are united, "string?" would be the same.
 

However, what I wonder is why (string? obj) returns false if (text? obj) returns true.   RnRS already has immutable strings, and string? already works on both mutable and immutable strings.

Good point. It seems that we would otherwise have three types of objects.  Mutable strings, immutable strings, and texts.