bsc-leon-vatthauer/agda/bsc-thesis/Data.Empty.Polymorphic.html

21 lines
3.8 KiB
HTML
Raw Normal View History

2024-02-09 17:53:52 +01:00
<!DOCTYPE HTML>
<html><head><meta charset="utf-8"><title>Data.Empty.Polymorphic</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">-- Level polymorphic Empty type</a>
<a id="138" class="Comment">------------------------------------------------------------------------</a>
<a id="212" class="Symbol">{-#</a> <a id="216" class="Keyword">OPTIONS</a> <a id="224" class="Pragma">--cubical-compatible</a> <a id="245" class="Pragma">--safe</a> <a id="252" class="Symbol">#-}</a>
<a id="257" class="Keyword">module</a> <a id="264" href="Data.Empty.Polymorphic.html" class="Module">Data.Empty.Polymorphic</a> <a id="287" class="Keyword">where</a>
<a id="294" class="Keyword">import</a> <a id="301" href="Data.Empty.html" class="Module">Data.Empty</a> <a id="312" class="Symbol">as</a> <a id="315" class="Module">Empty</a>
<a id="321" class="Keyword">open</a> <a id="326" class="Keyword">import</a> <a id="333" href="Level.html" class="Module">Level</a>
<a id="⊥"></a><a id="340" href="Data.Empty.Polymorphic.html#340" class="Function"></a> <a id="342" class="Symbol">:</a> <a id="344" class="Symbol">{</a><a id="345" href="Data.Empty.Polymorphic.html#345" class="Bound"></a> <a id="347" class="Symbol">:</a> <a id="349" href="Agda.Primitive.html#742" class="Postulate">Level</a><a id="354" class="Symbol">}</a> <a id="356" class="Symbol"></a> <a id="358" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="362" href="Data.Empty.Polymorphic.html#345" class="Bound"></a>
<a id="364" href="Data.Empty.Polymorphic.html#340" class="Function"></a> <a id="366" class="Symbol">{</a><a id="367" href="Data.Empty.Polymorphic.html#367" class="Bound"></a><a id="368" class="Symbol">}</a> <a id="370" class="Symbol">=</a> <a id="372" href="Level.html#409" class="Record">Lift</a> <a id="377" href="Data.Empty.Polymorphic.html#367" class="Bound"></a> <a id="379" href="Data.Empty.html#895" class="Function">Empty.⊥</a>
<a id="388" class="Comment">-- make ⊥-elim dependent too, as it does seem useful</a>
<a id="⊥-elim"></a><a id="441" href="Data.Empty.Polymorphic.html#441" class="Function">⊥-elim</a> <a id="448" class="Symbol">:</a> <a id="450" class="Symbol"></a> <a id="452" class="Symbol">{</a><a id="453" href="Data.Empty.Polymorphic.html#453" class="Bound">w</a> <a id="455" href="Data.Empty.Polymorphic.html#455" class="Bound"></a><a id="456" class="Symbol">}</a> <a id="458" class="Symbol">{</a><a id="459" href="Data.Empty.Polymorphic.html#459" class="Bound">Whatever</a> <a id="468" class="Symbol">:</a> <a id="470" href="Data.Empty.Polymorphic.html#340" class="Function"></a> <a id="472" class="Symbol">{</a><a id="473" href="Data.Empty.Polymorphic.html#455" class="Bound"></a><a id="474" class="Symbol">}</a> <a id="476" class="Symbol"></a> <a id="478" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="482" href="Data.Empty.Polymorphic.html#453" class="Bound">w</a><a id="483" class="Symbol">}</a> <a id="485" class="Symbol"></a> <a id="487" class="Symbol">(</a><a id="488" href="Data.Empty.Polymorphic.html#488" class="Bound">witness</a> <a id="496" class="Symbol">:</a> <a id="498" href="Data.Empty.Polymorphic.html#340" class="Function"></a> <a id="500" class="Symbol">{</a><a id="501" href="Data.Empty.Polymorphic.html#455" class="Bound"></a><a id="502" class="Symbol">})</a> <a id="505" class="Symbol"></a> <a id="507" href="Data.Empty.Polymorphic.html#459" class="Bound">Whatever</a> <a id="516" href="Data.Empty.Polymorphic.html#488" class="Bound">witness</a>
<a id="524" href="Data.Empty.Polymorphic.html#441" class="Function">⊥-elim</a> <a id="531" class="Symbol">()</a>
</pre></body></html>