filter bug
svn: r7427
This commit is contained in:
parent
35c37dd664
commit
523956b9c1
|
@ -638,7 +638,7 @@
|
|||
[(pair? list)
|
||||
(let ([x (car list)]
|
||||
[xs (~ (loop (! (cdr list))))])
|
||||
(if (!*app pred x) (cons x xs) xs))]
|
||||
(if (! (!*app pred x)) (cons x xs) xs))]
|
||||
[else (error 'filter "not a proper list: ~e" list)]))))
|
||||
|
||||
(require (rename (lib "list.ss") !sort sort))
|
||||
|
|
Loading…
Reference in New Issue
Block a user