Skip to content

Commit 12d1e20

Browse files
mattam82jrosain
authored andcommitted
Fix refman
1 parent d41d462 commit 12d1e20

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/sphinx/addendum/universe-polymorphism.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,10 @@ Explicit Universes
538538
| Type
539539
| _
540540
| @qualid
541+
sort_quality_var ::= Prop
542+
| SProp
543+
| Type
544+
| @qualid
541545
sort_poly_decl ::= @%{ {? {* @ident } {| %| | ; } } {* @ident } {? + } {? %| {*, @sort_poly_constraint } {? + } } %}
542546
cumul_sort_poly_decl ::= @%{ {? {* @ident } {| %| | ; } } {* {? {| + | = | * } } @ident } {? + } {? %| {*, @sort_poly_constraint } {? + } } %}
543547
sort_poly_constraint ::= @universe_name {| < | = | <= } @universe_name
@@ -810,7 +814,7 @@ All sort quality variables must be explicitly bound.
810814

811815
Polymorphic Definition sort'@{s | u |} := Type@{s|u}.
812816
813-
To help the parser, both `|` in the :n:`@univ_decl` are required.
817+
To help the parser, both `|` in the :n:`@sort_poly_decl` are required.
814818

815819
Sort quality variables of a sort polymorphic definition may be
816820
instantiated by the concrete values `SProp`, `Prop` and `Type` or by a

0 commit comments

Comments
 (0)