Previous: , Up: built-in strings   [Contents][Index]


6.14.3 Non–empty string type

Core Type: <nestring>
Parent Type: <string>

Type of non–empty string values.

Constructor on <nestring>: <nestring> type-constructor {ch0 <char>} {ch <char>} …

Build and return a non–empty string.

Type predicate on <nestring>: <boolean> type-predicate obj

The type predicate is empty-string?. Return #t if obj is a <nestring> object; otherwise return #f.

Accessors and mutators

Method on <nestring>: <char> ref this {idx <non-negative-fixnum>}

Apply string-ref to the instance and the argument.

Method on <nestring>: <void> set! this {idx <non-negative-fixnum>} {ch <char>}

Apply string-set! to the instance and the arguments.