make (help "foo") run a search for "foo"
svn: r13126
This commit is contained in:
parent
cf2e98eb92
commit
ac5dcae9e6
|
@ -21,6 +21,9 @@
|
||||||
#f "expected a module path after #:from" stx #'lib))
|
#f "expected a module path after #:from" stx #'lib))
|
||||||
(raise-syntax-error
|
(raise-syntax-error
|
||||||
#f "expected an identifier before #:from" stx #'id))]
|
#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 #:search str ...)
|
[(help #:search str ...)
|
||||||
(with-syntax ([(str ...)
|
(with-syntax ([(str ...)
|
||||||
(map (lambda (e)
|
(map (lambda (e)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user