chickadee » srfi-13 » let-string-start+end

(let-string-start+end (start end [rest]) proc-exp s-exp args-exp body ...) -> value(s)procedure

[Syntax] Syntactic sugar for an application of string-parse-start+end or string-parse-final-start+end.

If a REST variable is given, the form is equivalent to

(call-with-values
    (lambda () (string-parse-start+end PROC-EXP S-EXP ARGS-EXP))
  (lambda (REST START END) BODY ...))

If no REST variable is given, the form is equivalent to

(call-with-values
    (lambda () (string-parse-final-start+end PROC-EXP S-EXP ARGS-EXP))
  (lambda (START END) BODY ...))