summaryrefslogtreecommitdiff
path: root/defio.tex
diff options
context:
space:
mode:
authorCamil Staps2016-04-27 12:07:11 +0200
committerCamil Staps2016-04-27 12:07:11 +0200
commit1d7355ab8672b058d1b9c522b09a9b41b2b36908 (patch)
treef6edcd3118d8624b78bffab49397e89914408f98 /defio.tex
parentoops (diff)
Put regel
Diffstat (limited to 'defio.tex')
-rw-r--r--defio.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/defio.tex b/defio.tex
index c9b1f95..fb92e20 100644
--- a/defio.tex
+++ b/defio.tex
@@ -15,10 +15,12 @@ Op een stack zijn twee instructies gedefinieerd:
\begin{gather*}
\pushop : a \times \Stack{a} \to \Stack{a} \\
\push{e}{s} \isdef [e:s] \\[1em]
- \popop : \Stack{a} \to a \times \Stack{a} \\
+ \popop : \Stack{a} \hookrightarrow a \times \Stack{a} \\
\pop{[e:s]} \isdef (e,s) \\
\end{gather*}
+$\popop$ is een partiƫle functie omdat $\pop\Nil$ niet gedefinieerd is.
+
\medskip
We zullen de input en output beide als $\Stack{\String}$ modelleren. In feite
zal zelfs blijken dat we op $\Input$ de operatie $\pushop$ niet nodig hebben,