Fixed display pragrams for Stlc
This commit is contained in:
parent
fda61b9055
commit
ca7607c6f2
1 changed files with 4 additions and 3 deletions
|
@ -207,9 +207,9 @@ z = id 2
|
|||
|
||||
<div class="hidden">
|
||||
\begin{code}
|
||||
{-# DISPLAY zero = x #-}
|
||||
{-# DISPLAY suc zero = y #-}
|
||||
{-# DISPLAY suc (suc zero) = z #-}
|
||||
{-# DISPLAY id zero = x #-}
|
||||
{-# DISPLAY id (suc zero) = y #-}
|
||||
{-# DISPLAY id (suc (suc zero)) = z #-}
|
||||
\end{code}
|
||||
</div>
|
||||
|
||||
|
@ -253,6 +253,7 @@ notB = (abs x bool (if (var x) then false else true))
|
|||
\end{code}
|
||||
</div>
|
||||
|
||||
|
||||
## Operational Semantics
|
||||
|
||||
To define the small-step semantics of STLC terms, we begin,
|
||||
|
|
Loading…
Add table
Reference in a new issue