mirror of
https://github.com/ikoHSE/sc-lectures.git
synced 2024-09-11 05:25:25 +03:00
Minor transition fix
This commit is contained in:
parent
f2c527d6cb
commit
76a733631d
2
1.html
2
1.html
@ -411,7 +411,7 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="slide level1">
|
<section class="slide level1">
|
||||||
|
|
||||||
<div class="sourceCode" id="cb52"><pre class="sourceCode fragment haskell"><code class="sourceCode haskell"><span id="cb52-1"><a href="#cb52-1"></a><span class="kw">data</span> <span class="dt">CircleType</span> <span class="ot">=</span> <span class="dt">Circle</span> <span class="dt">Double</span> <span class="dt">Double</span> <span class="dt">Double</span></span>
|
<div class="sourceCode" id="cb52"><pre class="sourceCode haskell"><code class="sourceCode haskell"><span id="cb52-1"><a href="#cb52-1"></a><span class="kw">data</span> <span class="dt">CircleType</span> <span class="ot">=</span> <span class="dt">Circle</span> <span class="dt">Double</span> <span class="dt">Double</span> <span class="dt">Double</span></span>
|
||||||
<span id="cb52-2"><a href="#cb52-2"></a><span class="kw">data</span> <span class="dt">RectangleType</span> <span class="ot">=</span> <span class="dt">Rectangle</span> <span class="dt">Double</span> <span class="dt">Double</span> <span class="dt">Double</span> <span class="dt">Double</span></span></code></pre></div>
|
<span id="cb52-2"><a href="#cb52-2"></a><span class="kw">data</span> <span class="dt">RectangleType</span> <span class="ot">=</span> <span class="dt">Rectangle</span> <span class="dt">Double</span> <span class="dt">Double</span> <span class="dt">Double</span> <span class="dt">Double</span></span></code></pre></div>
|
||||||
<div class="sourceCode" id="cb53"><pre class="sourceCode fragment haskell"><code class="sourceCode haskell"><span id="cb53-1"><a href="#cb53-1"></a><span class="kw">data</span> <span class="dt">Shape</span> <span class="ot">=</span></span>
|
<div class="sourceCode" id="cb53"><pre class="sourceCode fragment haskell"><code class="sourceCode haskell"><span id="cb53-1"><a href="#cb53-1"></a><span class="kw">data</span> <span class="dt">Shape</span> <span class="ot">=</span></span>
|
||||||
<span id="cb53-2"><a href="#cb53-2"></a> <span class="dt">CircleShape</span> <span class="dt">CircleType</span> <span class="op">|</span> <span class="dt">RectangleShape</span> <span class="dt">RectangleType</span></span></code></pre></div>
|
<span id="cb53-2"><a href="#cb53-2"></a> <span class="dt">CircleShape</span> <span class="dt">CircleType</span> <span class="op">|</span> <span class="dt">RectangleShape</span> <span class="dt">RectangleType</span></span></code></pre></div>
|
||||||
|
2
1.md
2
1.md
@ -491,7 +491,7 @@ ifThenElse (False, "Hello", "World")
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
```{ .fragment .haskell }
|
```{ .haskell }
|
||||||
data CircleType = Circle Double Double Double
|
data CircleType = Circle Double Double Double
|
||||||
data RectangleType = Rectangle Double Double Double Double
|
data RectangleType = Rectangle Double Double Double Double
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user