mirror of
https://git8.cs.fau.de/theses/bsc-leon-vatthauer.git
synced 2024-05-31 07:28:34 +02:00
26 lines
No EOL
3.4 KiB
HTML
26 lines
No EOL
3.4 KiB
HTML
<!DOCTYPE HTML>
|
||
<html><head><meta charset="utf-8"><title>Effect.Empty</title><link rel="stylesheet" href="Agda.css"></head><body><pre class="Agda"><a id="1" class="Comment">------------------------------------------------------------------------</a>
|
||
<a id="74" class="Comment">-- The Agda standard library</a>
|
||
<a id="103" class="Comment">--</a>
|
||
<a id="106" class="Comment">-- Empty values (e.g. [] for List, nothing for Maybe)</a>
|
||
<a id="160" class="Comment">------------------------------------------------------------------------</a>
|
||
|
||
<a id="234" class="Symbol">{-#</a> <a id="238" class="Keyword">OPTIONS</a> <a id="246" class="Pragma">--cubical-compatible</a> <a id="267" class="Pragma">--safe</a> <a id="274" class="Symbol">#-}</a>
|
||
|
||
<a id="279" class="Keyword">module</a> <a id="286" href="Effect.Empty.html" class="Module">Effect.Empty</a> <a id="299" class="Keyword">where</a>
|
||
|
||
<a id="306" class="Keyword">open</a> <a id="311" class="Keyword">import</a> <a id="318" href="Level.html" class="Module">Level</a>
|
||
|
||
<a id="325" class="Keyword">private</a>
|
||
<a id="335" class="Keyword">variable</a>
|
||
<a id="348" href="Effect.Empty.html#348" class="Generalizable">ℓ</a> <a id="350" href="Effect.Empty.html#350" class="Generalizable">ℓ′</a> <a id="353" class="Symbol">:</a> <a id="355" href="Agda.Primitive.html#742" class="Postulate">Level</a>
|
||
<a id="365" href="Effect.Empty.html#365" class="Generalizable">A</a> <a id="368" class="Symbol">:</a> <a id="370" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="374" href="Effect.Empty.html#348" class="Generalizable">ℓ</a>
|
||
|
||
<a id="377" class="Keyword">record</a> <a id="RawEmpty"></a><a id="384" href="Effect.Empty.html#384" class="Record">RawEmpty</a> <a id="393" class="Symbol">(</a><a id="394" href="Effect.Empty.html#394" class="Bound">F</a> <a id="396" class="Symbol">:</a> <a id="398" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="402" href="Effect.Empty.html#348" class="Generalizable">ℓ</a> <a id="404" class="Symbol">→</a> <a id="406" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="410" href="Effect.Empty.html#350" class="Generalizable">ℓ′</a><a id="412" class="Symbol">)</a> <a id="414" class="Symbol">:</a> <a id="416" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="420" class="Symbol">(</a><a id="421" href="Agda.Primitive.html#931" class="Primitive">suc</a> <a id="425" href="Effect.Empty.html#402" class="Bound">ℓ</a> <a id="427" href="Agda.Primitive.html#961" class="Primitive Operator">⊔</a> <a id="429" href="Effect.Empty.html#410" class="Bound">ℓ′</a><a id="431" class="Symbol">)</a> <a id="433" class="Keyword">where</a>
|
||
<a id="441" class="Keyword">field</a>
|
||
<a id="RawEmpty.empty"></a><a id="451" href="Effect.Empty.html#451" class="Field">empty</a> <a id="457" class="Symbol">:</a> <a id="459" href="Effect.Empty.html#394" class="Bound">F</a> <a id="461" href="Effect.Empty.html#365" class="Generalizable">A</a>
|
||
|
||
<a id="466" class="Comment">-- backwards compatibility: unicode variants</a>
|
||
<a id="RawEmpty.∅"></a><a id="513" href="Effect.Empty.html#513" class="Function">∅</a> <a id="515" class="Symbol">:</a> <a id="517" href="Effect.Empty.html#394" class="Bound">F</a> <a id="519" href="Effect.Empty.html#365" class="Generalizable">A</a>
|
||
<a id="523" href="Effect.Empty.html#513" class="Function">∅</a> <a id="525" class="Symbol">=</a> <a id="527" href="Effect.Empty.html#451" class="Field">empty</a>
|
||
</pre></body></html> |