Skip to content

Commit

Permalink
syntax slides
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Aug 27, 2012
1 parent 22477c9 commit 14474df
Showing 1 changed file with 32 additions and 8 deletions.
40 changes: 32 additions & 8 deletions index.html
Expand Up @@ -62,15 +62,39 @@ <h1>Themenabend Haskell &amp; Yesod</h1>
* Syntax, Currying, Typen, Lazyness  (astro)  (min. 30min)
-->
<div class="slide">
<h2>Syntax</h2>
<ul>
<li>
<p>Rumpf:</p>
<pre class="sh_haskell">f = undefined</pre>
</li>
</ul>
<div class="note">Zeug erklären</div>
<h1>Syntax</h2>
</div>
<div class="slide">
<h2>Funktionen</h2>
<pre>fac :: Integer -> Integer
fac 1 = 1
fac n = n * fac (n - 1)
</pre>
<p class="note">Fakultät</p>
<p class="note">-&gt; Impliziert</p>
<p class="note">Pattern matching des Parameters</p>
<p class="note">Integer is bignum</p>
</div>
<div class="slide">
<h2>Guards</h2>
<pre>fac :: Integer -> Integer
fac n
| n &lt;= 1 = 1
| otherwise = n * fac (n - 1)
</pre>
<p class="note">Boolean expression</p>
</div>

<!--
case
if
let/where
module
-->
<div class="slide">
<h2>Currying</h2>
</div>
<!-- sections -->

<!--
* Monads, Functors, Applicatives (maloi) (30 min)
Expand Down

0 comments on commit 14474df

Please sign in to comment.