mirror of
https://github.com/dhil/phd-dissertation
synced 2026-03-13 02:58:26 +00:00
Reword
This commit is contained in:
@@ -6749,7 +6749,7 @@ elaboration for top-level function types.
|
|||||||
\begin{equations}
|
\begin{equations}
|
||||||
\trval{-} &:& \ValTypeCat \to \ValTypeCat\\
|
\trval{-} &:& \ValTypeCat \to \ValTypeCat\\
|
||||||
\trval{A \to B \eff E} &\defas& \pval{A}_{E'} \to \pval{B}_{E'} \eff E'\\
|
\trval{A \to B \eff E} &\defas& \pval{A}_{E'} \to \pval{B}_{E'} \eff E'\\
|
||||||
\multicolumn{3}{l}{\quad\where~E' = (\xval{A} \blacktriangleright E) \blacktriangleright (\xval{B} \blacktriangleright E)}
|
\multicolumn{3}{l}{\quad\where~E' = (\xval{A} \blacktriangleright E) \vartriangleright (\xval{B} \blacktriangleright E)}
|
||||||
\end{equations}
|
\end{equations}
|
||||||
%
|
%
|
||||||
The function $\trval{-}$ traverses the abstract syntax of its argument
|
The function $\trval{-}$ traverses the abstract syntax of its argument
|
||||||
@@ -6757,6 +6757,9 @@ twice. The first traversal propagates effect information outwards to
|
|||||||
the ambient effect row $E$. The second traversal pushes the full
|
the ambient effect row $E$. The second traversal pushes the full
|
||||||
ambient information $E'$ inwards.
|
ambient information $E'$ inwards.
|
||||||
%
|
%
|
||||||
|
The construction of $E'$ makes use of the fact that
|
||||||
|
$E \vartriangleright E = E$.
|
||||||
|
%
|
||||||
As a remark, note that the function $\trval{-}$ do not have to
|
As a remark, note that the function $\trval{-}$ do not have to
|
||||||
consider handler types, because they cannot appear at the top-level in
|
consider handler types, because they cannot appear at the top-level in
|
||||||
$\HCalc$. With this syntactic sugar in place we can program with
|
$\HCalc$. With this syntactic sugar in place we can program with
|
||||||
|
|||||||
Reference in New Issue
Block a user