mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 06:39:17 +02:00
fixing bug in delete
This commit is contained in:
parent
e656c6e7e2
commit
f61e3ac415
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
(if tail
|
||||
(lp (cdr tail) (take-up-to-reverse ls tail rev))
|
||||
(if (pair? rev) (append-reverse! rev ls) ls))))
|
||||
(filter (lambda (y) (eq x y)) ls))))
|
||||
(remove (lambda (y) (eq x y)) ls))))
|
||||
|
||||
(define delete! delete)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue