Simplify shell-quote deps
This commit is contained in:
parent
f7be9e47fc
commit
a01569c887
|
@ -3,14 +3,14 @@
|
|||
|
||||
(define-library (lassik shell-quote)
|
||||
(export shell-quote)
|
||||
(import (scheme base) (scheme write) (chibi match))
|
||||
(cond-expand
|
||||
((library (srfi 175)) (import (srfi 175)))
|
||||
(else (import (scheme char))
|
||||
(begin (define (ascii-alphanumeric? char)
|
||||
(or (char-alphabetic? char) (char-numeric? char))))))
|
||||
(import (scheme base)
|
||||
(scheme char)
|
||||
(chibi match))
|
||||
(begin
|
||||
|
||||
(define (ascii-alphanumeric? char)
|
||||
(or (char-alphabetic? char) (char-numeric? char)))
|
||||
|
||||
(define (delimit delimiter strings)
|
||||
(if (null? strings) ""
|
||||
(let loop ((strings (cdr strings)) (acc (car strings)))
|
||||
|
|
Loading…
Reference in New Issue