summaryrefslogtreecommitdiff
path: root/sec
diff options
context:
space:
mode:
authorChloe Brown <chloe.brown.00@outlook.com>2025-06-26 15:10:33 +0100
committerChloe Brown <chloe.brown.00@outlook.com>2025-06-26 15:10:33 +0100
commitc6281fb177dd6794ed88a7f4e5c956eac0bea66a (patch)
tree8fdd153d9cbef1698c20a2660c03d8214f90f13c /sec
parent9201b67cc06b411478dec43a56617f7e5b9111d1 (diff)
Fix 708--720.
Diffstat (limited to 'sec')
-rw-r--r--sec/encoding.ltx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sec/encoding.ltx b/sec/encoding.ltx
index b7029f3..c87ce90 100644
--- a/sec/encoding.ltx
+++ b/sec/encoding.ltx
@@ -472,14 +472,15 @@ the representation \(i_\ell\) of each label \(\ell\). Thus a tuple
x. \casetm{x}{i_\ell}{\mathsf{inj}~\ell~t_\ell}{\ell})\). The projection \(t.\ell\)
is encoded as the application \(\mathsf{prj}~(t~i_\ell)~\ell\).
-At this phase the encodings of our example functions,
-\systemtinline{balanced} and \systemtinline{compose'}, become too
-cluttered to be useful. Instead we will consider the
+Our example functions \systemtinline{balanced} and
+\systemtinline{compose} use too many products to be illustrative
+examples of this encoding at work. Instead we will consider the
\systemtinline{dupfirst} function, of type \((\nat \to \nat) \times \nat \to
(\nat \to \nat) \times (\nat \to \nat) \times \nat\), which takes a pair of a
function and value, and duplicates the first component of the pair.
-Originally defined as \systemtinline{let dupfirst t = (t.0, t.0, t.1)},
-after encoding products the function becomes
+Originally defined as
+\systemtinline{let dupfirst t = (t.0, t.0, t.1)}, after encoding
+products the function becomes
\begin{listing}[H]
\begin{systemt}
let dupfirst t = fun x => match x with