This repository was archived by the owner on Apr 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -670,8 +670,8 @@ The definition of the initial :ref:`identifier context <text-context>` :math:`I`
670
670
671
671
.. math ::
672
672
\begin {array}{@{}lcl@{\qquad\qquad }l}
673
- \F {idc}(\text {(}~\text {rec}~~\Tdeftype ^\ast ~\text {)}) &=&
674
- \bigcompose \F {idc}(\Tdeftype )^\ast \\
673
+ \F {idc}(\text {(}~\text {rec}~~\Ttypedef ^\ast ~\text {)}) &=&
674
+ \bigcompose \F {idc}(\Ttypedef )^\ast \\
675
675
\F {idc}(\text {(}~\text {type}~\Tid ^?~\Tsubtype ~\text {)}) &=&
676
676
\{\ITYPES ~(\Tid ^?), \IFIELDS ~\F {idf}(\Tsubtype ), \ITYPEDEFS ~\X {st}\} \\
677
677
\F {idc}(\text {(}~\text {func}~\Tid ^?~\dots ~\text {)}) &=&
Original file line number Diff line number Diff line change @@ -241,17 +241,17 @@ Composite Types
241
241
pair: text format; sub type
242
242
.. _text-rectype :
243
243
.. _text-subtype :
244
- .. _text-deftype :
244
+ .. _text-typedef :
245
245
246
246
Recursive Types
247
247
~~~~~~~~~~~~~~~
248
248
249
249
.. math ::
250
250
\begin {array}{llclll@{\qquad\qquad }l}
251
251
\production {recursive type} & \Trectype _I &::=&
252
- \text {(}~\text {rec}~~\X {st}^\ast {:\, }\Tvec (\Tdeftype _I )~\text {)}
252
+ \text {(}~\text {rec}~~\X {st}^\ast {:\, }\Tvec (\Ttypedef _I )~\text {)}
253
253
&\Rightarrow & \TREC ~\X {st}^\ast \\
254
- \production {defined type} & \Tdeftype _I &::=&
254
+ \production {defined type} & \Ttypedef _I &::=&
255
255
\text {(}~\text {type}~~\Tid ^?~~\X {st}{:}\Tsubtype _I~\text {)}
256
256
&\Rightarrow & \X {st} \\
257
257
\production {sub type} & \Tsubtype _I &::=&
@@ -268,8 +268,8 @@ Singular recursive types can omit the :math:`\text{rec}` keyword:
268
268
.. math ::
269
269
\begin {array}{llclll}
270
270
\production {recursive type} &
271
- \Tsubtype &\equiv &
272
- \text {(}~~\text {rec}~~\Tsubtype ~~\text {)} \\
271
+ \Ttypedef &\equiv &
272
+ \text {(}~~\text {rec}~~\Ttypedef ~~\text {)} \\
273
273
\end {array}
274
274
275
275
Similarly, final sub types with no super-types can omit the |Tsub | keyword and arguments:
Original file line number Diff line number Diff line change 908
908
.. |Tpackedtype| mathdef:: \xref{text/types}{text-packedtype}{\T{packedtype}}
909
909
.. |Tcomptype| mathdef:: \xref{text/types}{text-comptype}{\T{comptype}}
910
910
.. |Tsubtype| mathdef:: \xref{text/types}{text-subtype}{\T{subtype}}
911
- .. |Tdeftype | mathdef:: \xref{text/types}{text-deftype }{\T{deftype }}
911
+ .. |Ttypedef | mathdef:: \xref{text/types}{text-typedef }{\T{typedef }}
912
912
.. |Trectype| mathdef:: \xref{text/types}{text-rectype}{\T{rectype}}
913
913
914
914
.. |Tglobaltype| mathdef:: \xref{text/types}{text-globaltype}{\T{globaltype}}
You can’t perform that action at this time.
0 commit comments