Add block? contract to typeset-code (#196)

I think something should be said about what `block?` does but I am not comfortable enough with the scribble code to write it down.
This commit is contained in:
Paulo Matos 2019-02-24 23:55:03 +01:00 committed by Ben Greenman
parent 1a97657e17
commit 3349b13825

View File

@ -184,7 +184,7 @@ produces the typeset result
[#:keep-lang-line? keep? any/c #t]
[#:line-numbers line-numbers (or/c #f exact-nonnegative-integer?) #f]
[#:line-number-sep line-number-sep exact-nonnegative-integer? 1]
[#:block? block? #t]
[#:block? block? any/c #t]
[strs string?] ...)
block?]{
A function-based version of @racket[codeblock], allowing you to compute the @racket[strs] arguments.