mes: Remove duplicate memq.

* module/mes/base-0.mes (memq): Remove.
This commit is contained in:
Jan Nieuwenhuizen 2018-04-05 11:02:06 +02:00
parent 9fc27ee25a
commit 76e1b0582f

View file

@ -118,11 +118,6 @@
(define-macro (include-from-path 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)
(if (null? (cdr lst)) (car lst)
(string-append (car lst) infix (string-join (cdr lst) infix))))