Permalink
Browse files

Nicer layout

  • Loading branch information...
1 parent 20269de commit e624ded4cea6bf871645a0f9889d92ce14fb25bf @tomlokhorst committed Feb 7, 2010
Showing with 5 additions and 8 deletions.
  1. +3 −6 presentation/Expr.lhs
  2. +2 −2 presentation/code.fmt
@@ -14,14 +14,13 @@
%if style /= newcode
-> if 2 + 3 == 5
-> then 1
-> else 0
+\center{\huge{$\mathrm{if}\; 2 + 3 \equiv 5\;\; \mathrm{then}\; 1\;\; \mathrm{else}\; 0$}}
%endif
\pause
+> WhiteSpace
> data Expr where
> Con :: Int -> Expr
> Add :: Expr -> Expr -> Expr
@@ -59,9 +58,7 @@
%if style /= newcode
-> if 2 + 3 == 5
-> then 1
-> else 0
+\center{\huge{$\mathrm{if}\; 2 + 3 \equiv 5\;\; \mathrm{then}\; 1\;\; \mathrm{else}\; 0$}}
\pause
@@ -38,8 +38,8 @@
%format - = "\textcolor{sym}{\text{\ \tt{-}\ }}"
%format == = "\textcolor{sym}{\text{\ \tt{==}\ }}"
%format => = "\textcolor{sym}{\text{\ $\Rightarrow$\ }}"
-%format && = "\textcolor{sym}{\text{\ $\land$\ }}"
-%format || = "\textcolor{sym}{\text{\ $\lor$\ }}"
+%format && = "\textcolor{sym}{\text{$\&\&$}}"
+%format || = "\textcolor{sym}{\text{$||$}}"
%format :-> = "\textcolor{sym}{\text{\ $\mapsto$\ }}"
%format . = "\textcolor{sym}{\text{\ $\circ$\ }}"
%format $ = "\textcolor{sym}{\text{\ $\$$\ }}"

0 comments on commit e624ded

Please sign in to comment.