document mandatory #:outer-scope argument
This commit is contained in:
parent
bbac4b9abb
commit
e8bc0420ea
|
@ -67,9 +67,14 @@ The @racket[arg-str] argument lets you specify something else to use as a placeh
|
||||||
}
|
}
|
||||||
|
|
||||||
@defproc[(make-afl-readtable [orig-readtable readtable? (current-readtable)]
|
@defproc[(make-afl-readtable [orig-readtable readtable? (current-readtable)]
|
||||||
|
[#:outer-scope outer-scope (-> syntax? syntax?)]
|
||||||
[#:arg-str arg-str string? (current-arg-string)]) readtable?]{
|
[#:arg-str arg-str string? (current-arg-string)]) readtable?]{
|
||||||
makes an @racketmodname[afl] readtable based on @racket[orig-readtable].
|
makes an @racketmodname[afl] readtable based on @racket[orig-readtable].
|
||||||
|
|
||||||
|
The @racket[outer-scope] argument should be a function that introduce scopes to preserve hygiene,
|
||||||
|
normally produced by @racket[make-syntax-introducer] and similar functions. For versions of racket
|
||||||
|
that support it, these should generally be specified as use-site scopes.
|
||||||
|
|
||||||
The @racket[arg-str] argument lets you specify something else to use as a placeholder instead of
|
The @racket[arg-str] argument lets you specify something else to use as a placeholder instead of
|
||||||
@racket[%], just like for @racket[afl-read].
|
@racket[%], just like for @racket[afl-read].
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user