bsc-leon-vatthauer/agda/bsc-thesis/Data.Unit.Base.html
2024-02-09 17:53:52 +01:00

23 lines
No EOL
1.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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>