[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] obsolete code
From: |
Jörg F . Wittenberger |
Subject: |
[Chicken-users] obsolete code |
Date: |
26 Sep 2011 20:39:50 +0200 |
I found theses definitions in the irregex code mirroring srfi-1
simplified cases.
(define (filter pred ls)
(let lp ((ls ls) (res '()))
(if (null? ls)
(reverse res)
(lp (cdr ls) (if (pred (car ls)) (cons (car ls) res) res)))))
(define (remove pred ls)
(let lp ((ls ls) (res '()))
(if (null? ls)
(reverse res)
(lp (cdr ls) (if (pred (car ls)) res (cons (car ls) res))))))
The irregex code itself appears not to use them anywhere.
Obsolete?
- Re: [Chicken-users] a memory issue; mildly scaring to me, (continued)
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, John Cowan, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Peter Bex, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- [Chicken-users] define-compilter-syntax / define-syntax -- a quastion // posibly a bug, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] a memory issue; mildly scaring to me, Jörg F . Wittenberger, 2011/09/26
- [Chicken-users] obsolete code,
Jörg F . Wittenberger <=
- [Chicken-users] irregex.scm, Jörg F . Wittenberger, 2011/09/26
- Re: [Chicken-users] obsolete code, Alex Shinn, 2011/09/26
- Re: [Chicken-users] obsolete code, Jörg F . Wittenberger, 2011/09/27
- Re: [Chicken-users] obsolete code, Alex Shinn, 2011/09/27