Fix 'string->positive-integer' docstring typo.
* gash/built-ins/utils.scm (string->positive-integer): Fix a typo in the docstring.
This commit is contained in:
parent
804b6cbe05
commit
38001cb76d
|
@ -62,7 +62,7 @@
|
||||||
|
|
||||||
(define (string->positive-integer s)
|
(define (string->positive-integer s)
|
||||||
"Return the positive integer represented by the string @var{s}. If
|
"Return the positive integer represented by the string @var{s}. If
|
||||||
@var{s} does not represent a positive, decimal integer in return
|
@var{s} does not represent a positive, decimal integer return
|
||||||
@code{#f}."
|
@code{#f}."
|
||||||
(and=> (and (string-every char-set:ascii-digit s) (string->number s))
|
(and=> (and (string-every char-set:ascii-digit s) (string->number s))
|
||||||
(lambda (n)
|
(lambda (n)
|
||||||
|
|
Loading…
Reference in New Issue