- (textual->generator textual [[start] end]) → procedureprocedure
Returns a generator that produces the elements (codepoints) of textual in order. If the optional start or end arguments are provided, then only the elements of a subtext(ual) of textual will be produced.
Example:
(let ((gen (textual->generator (text #\a #\b #\c #\d) 2))) (generator->list gen)) ⇒ (#\c #\d)