Remove function that shadowed (list)

This commit is contained in:
Jeremy Dormitzer 2020-08-16 15:12:24 -04:00
parent c651153706
commit fbc2c922cc

View File

@ -98,18 +98,3 @@
(make-keyword-procedure
(lambda (kws kw-args . elements)
(txexpr 'em (zip-kws kws kw-args) elements))))
(define (process-list-item item)
(let ((item (string-trim
(string-trim item "-" #:right? #f))))
(when (and item (non-empty-string? item))
`(li ,item))))
(define list
(make-keyword-procedure
(lambda (kws kw-args . elements)
(txexpr 'ul
(zip-kws kws kw-args)
(filter (lambda (x) (not (void? x)))
(map process-list-item
elements))))))