mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 06:39:17 +02:00
fixing bug in sorted?
This commit is contained in:
parent
b71195955e
commit
819fbd2c99
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
((less (key (vector-ref seq (+ i 1))) (key (vector-ref seq i))) #f)
|
||||
(else (lp (+ i 1)))))))
|
||||
((null? seq)
|
||||
#f)
|
||||
#t)
|
||||
(else
|
||||
(let lp ((ls1 seq) (ls2 (cdr seq)))
|
||||
(cond ((null? ls2) #t)
|
||||
|
|
Loading…
Add table
Reference in a new issue