mes: Remove duplicate memq.
* module/mes/base-0.mes (memq): Remove.
This commit is contained in:
parent
9fc27ee25a
commit
76e1b0582f
|
@ -118,11 +118,6 @@
|
||||||
(define-macro (include-from-path file)
|
(define-macro (include-from-path file)
|
||||||
(list 'load (list string-append %moduledir file)))
|
(list 'load (list string-append %moduledir file)))
|
||||||
|
|
||||||
(define (memq x lst)
|
|
||||||
(if (null? lst) #f
|
|
||||||
(if (eq? x (car lst)) lst
|
|
||||||
(memq x (cdr lst)))))
|
|
||||||
|
|
||||||
(define (string-join lst infix)
|
(define (string-join lst infix)
|
||||||
(if (null? (cdr lst)) (car lst)
|
(if (null? (cdr lst)) (car lst)
|
||||||
(string-append (car lst) infix (string-join (cdr lst) infix))))
|
(string-append (car lst) infix (string-join (cdr lst) infix))))
|
||||||
|
|
Loading…
Reference in a new issue