mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added a note
This commit is contained in:
parent
3b2061450b
commit
9720387420
1 changed files with 2 additions and 0 deletions
|
@ -735,6 +735,8 @@
|
|||
(loop (+ i-at 1) (+ i-from 1)))))))
|
||||
(loop at start)))
|
||||
(define (string-fill! str fill . opts)
|
||||
;; TODO: technically this is not per spec, because end references len.
|
||||
;; Should change to use letrec*
|
||||
(letrec ((len (string-length str))
|
||||
(start (if (> (length opts) 0) (car opts) 0))
|
||||
(end (if (> (length opts) 1) (cadr opts) len))
|
||||
|
|
Loading…
Add table
Reference in a new issue