123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- (define-library (srfi 13)
- (export
- ;; Predicates
- #;string?
- string-null?
- string-every
- string-any
- ;; Constructors
- #;make-string
- #;string
- string-tabulate
- ;; List & string conversion
- #;string->list
- #;list->string
- reverse-list->string
- string-join
- ;; Selection
- #;string-length
- #;string-ref
- #;string-copy
- substring/shared
- #;string-copy!
- string-take
- string-take-right
- string-drop
- string-drop-right
- string-pad
- string-pad-right
- string-trim
- string-trim-right
- string-trim-both
- ;; Modification
- #;string-set!
- #;string-fill!
- ;; Comparison
- string-compare
- string-compare-ci
- string<>
- string=
- string<
- string>
- string<=
- string>=
- string-ci<>
- string-ci=
- string-ci<
- string-ci>
- string-ci<=
- string-ci>=
- string-hash
- string-hash-ci
- ;; Prefixes & suffixes
- string-prefix-length
- string-suffix-length
- string-prefix-length-ci
- string-suffix-length-ci
- string-prefix?
- string-suffix?
- string-prefix-ci?
- string-suffix-ci?
- ;; Searching
- string-index
- string-index-right
- string-skip
- string-skip-right
- string-count
- string-contains
- string-contains-ci
- ;; Alphabetic case mapping
- string-titlecase
- string-upcase
- string-downcase
- string-titlecase!
- string-upcase!
- string-downcase!
- ;; Reverse & append
- string-reverse
- string-reverse!
- #;string-append
- string-concatenate
- string-concatenate/shared
- string-append/shared
- string-concatenate-reverse
- string-concatenate-reverse/shared
- ;; Fold, unfold & map
- string-map
- string-map!
- string-fold
- string-fold-right
- string-unfold
- string-unfold-right
- string-for-each
- string-for-each-index
- ;; Replicate & rotate
- xsubstring
- string-xcopy!
- ;; Miscellaneous: insertion, parsing
- string-replace
- string-tokenize
- ;; Filtering & deleting
- string-filter
- string-delete
- ;; Low-level procedures
- string-parse-start+end
- string-parse-final-start+end
- let-string-start+end
- check-substring-spec
- substring-spec-ok?
- make-kmp-restart-vector
- kmp-step
- string-kmp-partial-search
- )
- (import
- (except (scheme base) string-map string-for-each)
- (scheme char)
- (srfi 8)
- (srfi 14)
- (srfi 60)
- (srfi aux))
- (begin
- (define-aux-forms check-arg let-optionals* :optional)
- (define char-cased? (char-cased?-proc))
- (define char-titlecase (char-titlecase-proc)))
- (include "13.upstream.scm"))
|