Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 7b39b67

Browse files
committed
valid-try-delegate: Typesetting and notation like formal-overview.
1 parent 76732ae commit 7b39b67

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

document/core/valid/instructions.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,17 +1375,17 @@ Control Instructions
13751375
C \vdashblocktype \blocktype : [t_1^\ast] \to [t_2^\ast]
13761376
\qquad
13771377
C,\CLABELS\,[t_2^\ast] \vdashinstrseq \instr_1^\ast : [t_1^\ast] \to [t_2^\ast] \\
1378-
(C.\CTAGS[x] = [t^\ast]\to[] \\
1379-
C,\CLABELS\,(\LCATCH [t_2^\ast]) \vdashinstrseq \instr_2^\ast : [t^\ast]\to[t_2^\ast])\ast \\
1380-
(C,\CLABELS\,(\LCATCH~[t_2^\ast]) \vdashinstrseq \instr_3^\ast : []\to[t_2^\ast])^?
1378+
(C.\CTAGS[x] = [t^\ast] \to [] \\
1379+
C,\CLABELS\,(\LCATCH~[t_2^\ast]) \vdashinstrseq \instr_2^\ast : [t^\ast] \to [t_2^\ast])^\ast \\
1380+
(C,\CLABELS\,(\LCATCH~[t_2^\ast]) \vdashinstrseq \instr_3^\ast : [] \to [t_2^\ast])^?
13811381
\end{array}
13821382
}{
1383-
C \vdashinstr \TRY~\blocktype~\instr^\ast (\CATCH~x~\instr_2^\ast)^\ast (\CATCHALL~\instr_3^\ast)^? \END : [t_1^\ast]\to[t_2^\ast]
1383+
C \vdashinstr \TRY~\blocktype~\instr_1^\ast~(\CATCH~x~\instr_2^\ast)^\ast~(\CATCHALL~\instr_3^\ast)^?~\END : [t_1^\ast] \to [t_2^\ast]
13841384
}
13851385
13861386
13871387
.. note::
1388-
The :ref:`notation <notation-extend>` :math:`C,\CLABELS\,(\LCATCH^? [t^\ast])` inserts the new label type at index :math:`0`, shifting all others.
1388+
The :ref:`notation <notation-extend>` :math:`C,\CLABELS\,(\LCATCH^?~[t^\ast])` inserts the new label type at index :math:`0`, shifting all others.
13891389

13901390

13911391
.. _valid-try-delegate:

0 commit comments

Comments
 (0)