mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-22 07:09:18 +02:00
removing commented out code
This commit is contained in:
parent
a85cc23f31
commit
63c7151499
1 changed files with 0 additions and 5 deletions
|
@ -347,11 +347,6 @@
|
|||
(call-with-output-string
|
||||
(lambda (out) (for-each (lambda (ch) (write-char ch out)) ls))))
|
||||
|
||||
;; (define (list->string ls)
|
||||
;; (let lp ((ls ls) (res '()))
|
||||
;; (cond ((null? ls) (string-concatenate (reverse res)))
|
||||
;; (else (lp (cdr ls) (cons (make-string 1 (car ls)) res))))))
|
||||
|
||||
(define (string->list str)
|
||||
(let lp ((i (string-cursor-prev str (string-cursor-end str))) (res '()))
|
||||
(if (< i 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue