make it require one or more strings, just in case
svn: r13127
This commit is contained in:
parent
ac5dcae9e6
commit
62ed5ba3ad
|
@ -21,9 +21,10 @@
|
|||
#f "expected a module path after #:from" stx #'lib))
|
||||
(raise-syntax-error
|
||||
#f "expected an identifier before #:from" stx #'id))]
|
||||
[(help str ...)
|
||||
(andmap (lambda (s) (string? (syntax-e s))) (syntax->list #'(str ...)))
|
||||
#'(search-for (list str ...))]
|
||||
[(help str0 str ...)
|
||||
(andmap (lambda (s) (string? (syntax-e s)))
|
||||
(syntax->list #'(str0 str ...)))
|
||||
#'(search-for (list str0 str ...))]
|
||||
[(help #:search str ...)
|
||||
(with-syntax ([(str ...)
|
||||
(map (lambda (e)
|
||||
|
|
Loading…
Reference in New Issue
Block a user