make it require one or more strings, just in case

svn: r13127
This commit is contained in:
Eli Barzilay 2009-01-14 22:39:17 +00:00
parent ac5dcae9e6
commit 62ed5ba3ad

View File

@ -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)