bsc-leon-vatthauer/agda/bsc-thesis/Data.Unit.Base.html

23 lines
1.9 KiB
HTML
Raw Normal View History

2024-02-09 17:53:52 +01:00
<!DOCTYPE HTML>
<html><head><meta charset="utf-8"><title>Data.Unit.Base</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">-- The unit type and the total relation on unit</a>
<a id="154" class="Comment">------------------------------------------------------------------------</a>
<a id="228" class="Symbol">{-#</a> <a id="232" class="Keyword">OPTIONS</a> <a id="240" class="Pragma">--cubical-compatible</a> <a id="261" class="Pragma">--safe</a> <a id="268" class="Symbol">#-}</a>
<a id="273" class="Keyword">module</a> <a id="280" href="Data.Unit.Base.html" class="Module">Data.Unit.Base</a> <a id="295" class="Keyword">where</a>
<a id="302" class="Comment">------------------------------------------------------------------------</a>
<a id="375" class="Comment">-- A unit type defined as a record type</a>
<a id="416" class="Comment">-- Note that by default the unit type is not universe polymorphic as it</a>
<a id="488" class="Comment">-- often results in unsolved metas. See `Data.Unit.Polymorphic` for a</a>
<a id="558" class="Comment">-- universe polymorphic variant.</a>
<a id="592" class="Comment">-- Note also that the name of this type is &quot;\top&quot;, not T.</a>
<a id="651" class="Keyword">open</a> <a id="656" class="Keyword">import</a> <a id="663" href="Agda.Builtin.Unit.html" class="Module">Agda.Builtin.Unit</a> <a id="681" class="Keyword">public</a>
<a id="690" class="Keyword">using</a> <a id="696" class="Symbol">(</a><a id="697" href="Agda.Builtin.Unit.html#175" class="Record"></a><a id="698" class="Symbol">;</a> <a id="700" href="Agda.Builtin.Unit.html#212" class="InductiveConstructor">tt</a><a id="702" class="Symbol">)</a>
</pre></body></html>