From 5b60641f4338d82e87464c52b20817693a3e7c68 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Tue, 17 Dec 2019 23:47:53 +0800 Subject: [PATCH] small documentation fixes --- lib/chibi/string.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chibi/string.scm b/lib/chibi/string.scm index e74f1f12..ec5988f3 100644 --- a/lib/chibi/string.scm +++ b/lib/chibi/string.scm @@ -267,13 +267,13 @@ (let ((pred (make-char-predicate check))) (string-fold (lambda (ch count) (if (pred ch) (+ count 1) count)) 0 str))) -;;> \procedure{(string-contains s1 s2)} +;;> \procedure{(string-contains s1 s2 [start])} ;;> ;;> Returns a cursor pointing to the first position in the string ;;> \var{s1} where \var{s2} occurs, or \scheme{#f} if there is no such ;;> match. -;;> \procedure{(mamke-string-searcher needle)} +;;> \procedure{(make-string-searcher needle)} ;;> ;;> Partial application of \scheme{string-contains}. Return a ;;> procedure of one argument, a string, which runs