fix define-judgment docs
change so mode-spec is not optional in grammar
This commit is contained in:
parent
2b902d0eda
commit
93784be78d
|
@ -1139,12 +1139,12 @@ and @racket[#f] otherwise.
|
||||||
|
|
||||||
@defform/subs[#:literals (I O where where/hidden side-condition side-condition/hidden etc.)
|
@defform/subs[#:literals (I O where where/hidden side-condition side-condition/hidden etc.)
|
||||||
(define-judgment-form language
|
(define-judgment-form language
|
||||||
option ...
|
mode-spec
|
||||||
|
contract-spec
|
||||||
rule rule ...)
|
rule rule ...)
|
||||||
([option mode-spec
|
([mode-spec (code:line #:mode (form-id pos-use ...))]
|
||||||
contract-spec]
|
[contract-spec (code:line)
|
||||||
[mode-spec (code:line #:mode (form-id pos-use ...))]
|
(code:line #:contract (form-id @#,ttpattern ...))]
|
||||||
[contract-spec (code:line #:contract (form-id @#,ttpattern ...))]
|
|
||||||
[pos-use I
|
[pos-use I
|
||||||
O]
|
O]
|
||||||
[rule [premise
|
[rule [premise
|
||||||
|
|
Loading…
Reference in New Issue
Block a user