mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-14 08:27:34 +02:00
Using char-set-for-each instead of for-each on char-set->list.
This commit is contained in:
parent
a886737b20
commit
b24ce3293e
1 changed files with 2 additions and 2 deletions
|
@ -60,11 +60,11 @@
|
||||||
|
|
||||||
(define (char-set-ci cset)
|
(define (char-set-ci cset)
|
||||||
(let ((res (char-set)))
|
(let ((res (char-set)))
|
||||||
(for-each
|
(char-set-for-each
|
||||||
(lambda (ch)
|
(lambda (ch)
|
||||||
(char-set-adjoin! res (char-upcase ch))
|
(char-set-adjoin! res (char-upcase ch))
|
||||||
(char-set-adjoin! res (char-downcase ch)))
|
(char-set-adjoin! res (char-downcase ch)))
|
||||||
(char-set->list cset))
|
cset)
|
||||||
res))
|
res))
|
||||||
|
|
||||||
(define (make-char-state ch flags next)
|
(define (make-char-state ch flags next)
|
||||||
|
|
Loading…
Add table
Reference in a new issue