Minor cleanup
This commit is contained in:
@ -4,16 +4,16 @@ The Kestrel selects its first argument, and the Kite selects its second. This \s
|
||||
|
||||
\vspace{1ex}
|
||||
|
||||
Let $T = K\phantom{I} = \lm ab . a$ \\
|
||||
Let $F = KI = \lm ab . b$ \\
|
||||
Let $T = K\phantom{I} = \lm ab . a$ \par
|
||||
Let $F = KI = \lm ab . b$
|
||||
|
||||
\problem{}
|
||||
Write a function $\text{NOT}$ so that $(\text{NOT} ~ T) = F$ and $(\text{NOT}~F) = T$. \\
|
||||
Write a function $\text{NOT}$ so that $(\text{NOT} ~ T) = F$ and $(\text{NOT}~F) = T$. \par
|
||||
\hint{What is $(T~\heartsuit~\star)$? How about $(F~\heartsuit~\star)$?}
|
||||
|
||||
|
||||
\begin{solution}
|
||||
$\text{NOT} = \lm a . (a~F~T)$ \\
|
||||
$\text{NOT} = \lm a . (a~F~T)$
|
||||
\end{solution}
|
||||
|
||||
\vfill
|
||||
@ -51,7 +51,7 @@ Write functions $\text{AND}$, $\text{OR}$, and $\text{XOR}$ that satisfy the fol
|
||||
\vfill
|
||||
|
||||
\problem{}
|
||||
To complete our boolean algebra, write the boolean equality check EQ. \\
|
||||
To complete our boolean algebra, write the boolean equality check EQ. \par
|
||||
What inputs should it take? What outputs should it produce?
|
||||
|
||||
\begin{solution}
|
||||
|
Reference in New Issue
Block a user