doc: fix 'scribble-eval-handler' order of arguments

Change the documented order of arguments to match the implementation / uses
 in `scribble/eval.rkt` and `scriblib/gui-eval.rkt`
This commit is contained in:
Ben Greenman 2017-06-11 12:21:58 -04:00 committed by GitHub
parent 37ee75d3bf
commit 800d08fbef

View File

@ -282,13 +282,13 @@ an evaluator (e.g., because it is defined in a module body).}
@defparam[scribble-eval-handler handler @defparam[scribble-eval-handler handler
((any/c . -> . any) any/c boolean? . -> . any)]{ ((any/c . -> . any) boolean? any/c . -> . any)]{
A parameter that serves as a hook for evaluation. The evaluator to use A parameter that serves as a hook for evaluation. The evaluator to use
is supplied as the first argument to the parameter's value, and the is supplied as the first argument to the parameter's value.
second argument is the form to evaluate. The last argument is The second argument is @racket[#t] if exceptions are being captured (to display
@racket[#t] if exceptions are being captured (to display exception exception results), @racket[#f] otherwise.
results), @racket[#f] otherwise.} The third argument is the form to evaluate.}
@defparam[scribble-exn->string handler (-> (or/c exn? any/c) string?)]{ @defparam[scribble-exn->string handler (-> (or/c exn? any/c) string?)]{
A parameter that controls how exceptions are rendered by A parameter that controls how exceptions are rendered by