str corrections
This commit is contained in:
@@ -149,7 +149,7 @@ constructor :code:`O` on two :code:`NNum` s both in normal form.
|
|||||||
}
|
}
|
||||||
|
|
||||||
In a conditional primitive, perform the reduction if the condition has been
|
In a conditional primitive, perform the reduction if the condition has been
|
||||||
evaluated as True (:code:`ConP 2 0`).
|
evaluated as True (:code:`NData 1 []`).
|
||||||
|
|
||||||
.. math::
|
.. math::
|
||||||
\transrule
|
\transrule
|
||||||
@@ -158,7 +158,7 @@ evaluated as True (:code:`ConP 2 0`).
|
|||||||
& h
|
& h
|
||||||
\begin{bmatrix}
|
\begin{bmatrix}
|
||||||
f : \mathtt{NPrim} \; \mathtt{IfP} \\
|
f : \mathtt{NPrim} \; \mathtt{IfP} \\
|
||||||
c : \mathtt{NPrim} \; (\mathtt{ConP} \; 2 \; 0) \\
|
c : \mathtt{NPrim} \; (\mathtt{NData} \; 1 \; []) \\
|
||||||
a_1 : \mathtt{NAp} \; f \; c \\
|
a_1 : \mathtt{NAp} \; f \; c \\
|
||||||
a_2 : \mathtt{NAp} \; a_1 \; x \\
|
a_2 : \mathtt{NAp} \; a_1 \; x \\
|
||||||
a_3 : \mathtt{NAp} \; a_2 \; y
|
a_3 : \mathtt{NAp} \; a_2 \; y
|
||||||
@@ -172,7 +172,7 @@ evaluated as True (:code:`ConP 2 0`).
|
|||||||
}
|
}
|
||||||
|
|
||||||
In a conditional primitive, perform the reduction if the condition has been
|
In a conditional primitive, perform the reduction if the condition has been
|
||||||
evaluated as False (:code:`ConP 1 0`).
|
evaluated as False (:code:`NData 0 []`).
|
||||||
|
|
||||||
.. math::
|
.. math::
|
||||||
\transrule
|
\transrule
|
||||||
@@ -181,7 +181,7 @@ evaluated as False (:code:`ConP 1 0`).
|
|||||||
& h
|
& h
|
||||||
\begin{bmatrix}
|
\begin{bmatrix}
|
||||||
f : \mathtt{NPrim} \; \mathtt{IfP} \\
|
f : \mathtt{NPrim} \; \mathtt{IfP} \\
|
||||||
c : \mathtt{NPrim} \; (\mathtt{ConP} \; 1 \; 0) \\
|
c : \mathtt{NPrim} \; (\mathtt{NData} \; 0 \; []) \\
|
||||||
a_1 : \mathtt{NAp} \; f \; c \\
|
a_1 : \mathtt{NAp} \; f \; c \\
|
||||||
a_2 : \mathtt{NAp} \; a_1 \; x \\
|
a_2 : \mathtt{NAp} \; a_1 \; x \\
|
||||||
a_3 : \mathtt{NAp} \; a_2 \; y
|
a_3 : \mathtt{NAp} \; a_2 \; y
|
||||||
|
|||||||
Reference in New Issue
Block a user