(delete): Fix predicate arg order to match srfi-1 spec.
authorKevin Ryde <user42@zip.com.au>
Mon, 12 May 2003 23:02:01 +0000 (23:02 +0000)
committerKevin Ryde <user42@zip.com.au>
Mon, 12 May 2003 23:02:01 +0000 (23:02 +0000)
srfi/srfi-1.scm

index 5aa63f4..f65c4c7 100644 (file)
     (let lp ((l list))
       (if (null? l)
        '()
-       (if (l= (car l) x)
+       (if (l= x (car l))
          (lp (cdr l))
          (cons (car l) (lp (cdr l))))))))