bsc-leon-vatthauer/public/Strict.html

33 lines
No EOL
6.8 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>Strict</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">-- Strictness combinators</a>
<a id="132" class="Comment">------------------------------------------------------------------------</a>
<a id="206" class="Symbol">{-#</a> <a id="210" class="Keyword">OPTIONS</a> <a id="218" class="Pragma">--cubical-compatible</a> <a id="239" class="Pragma">--safe</a> <a id="246" class="Symbol">#-}</a>
<a id="251" class="Keyword">module</a> <a id="258" href="Strict.html" class="Module">Strict</a> <a id="265" class="Keyword">where</a>
<a id="272" class="Keyword">open</a> <a id="277" class="Keyword">import</a> <a id="284" href="Level.html" class="Module">Level</a>
<a id="290" class="Keyword">open</a> <a id="295" class="Keyword">import</a> <a id="302" href="Agda.Builtin.Equality.html" class="Module">Agda.Builtin.Equality</a>
<a id="325" class="Keyword">open</a> <a id="330" class="Keyword">import</a> <a id="337" href="Agda.Builtin.Strict.html" class="Module">Agda.Builtin.Strict</a>
<a id="362" class="Keyword">renaming</a> <a id="371" class="Symbol">(</a> <a id="373" href="Agda.Builtin.Strict.html#161" class="Primitive">primForce</a> <a id="383" class="Symbol">to</a> <a id="386" class="Primitive">force</a>
<a id="406" class="Symbol">;</a> <a id="408" href="Agda.Builtin.Strict.html#244" class="Primitive">primForceLemma</a> <a id="423" class="Symbol">to</a> <a id="426" class="Primitive">force-≡</a><a id="433" class="Symbol">)</a> <a id="435" class="Keyword">public</a>
<a id="443" class="Comment">-- Derived combinators</a>
<a id="466" class="Keyword">module</a> <a id="473" href="Strict.html#473" class="Module">_</a> <a id="475" class="Symbol">{</a><a id="476" href="Strict.html#476" class="Bound"></a> <a id="478" href="Strict.html#478" class="Bound"></a> <a id="481" class="Symbol">:</a> <a id="483" href="Agda.Primitive.html#591" class="Postulate">Level</a><a id="488" class="Symbol">}</a> <a id="490" class="Symbol">{</a><a id="491" href="Strict.html#491" class="Bound">A</a> <a id="493" class="Symbol">:</a> <a id="495" href="Agda.Primitive.html#320" class="Primitive">Set</a> <a id="499" href="Strict.html#476" class="Bound"></a><a id="500" class="Symbol">}</a> <a id="502" class="Symbol">{</a><a id="503" href="Strict.html#503" class="Bound">B</a> <a id="505" class="Symbol">:</a> <a id="507" href="Agda.Primitive.html#320" class="Primitive">Set</a> <a id="511" href="Strict.html#478" class="Bound"></a><a id="513" class="Symbol">}</a> <a id="515" class="Keyword">where</a>
<a id="524" href="Strict.html#524" class="Function">force</a> <a id="531" class="Symbol">:</a> <a id="533" href="Strict.html#491" class="Bound">A</a> <a id="535" class="Symbol"></a> <a id="537" class="Symbol">(</a><a id="538" href="Strict.html#491" class="Bound">A</a> <a id="540" class="Symbol"></a> <a id="542" href="Strict.html#503" class="Bound">B</a><a id="543" class="Symbol">)</a> <a id="545" class="Symbol"></a> <a id="547" href="Strict.html#503" class="Bound">B</a>
<a id="551" href="Strict.html#524" class="Function">force</a> <a id="558" class="Symbol">=</a> <a id="560" href="Strict.html#386" class="Primitive">force</a>
<a id="569" href="Strict.html#569" class="Function">force-≡</a> <a id="578" class="Symbol">:</a> <a id="580" class="Symbol">(</a><a id="581" href="Strict.html#581" class="Bound">a</a> <a id="583" class="Symbol">:</a> <a id="585" href="Strict.html#491" class="Bound">A</a><a id="586" class="Symbol">)</a> <a id="588" class="Symbol">(</a><a id="589" href="Strict.html#589" class="Bound">f</a> <a id="591" class="Symbol">:</a> <a id="593" href="Strict.html#491" class="Bound">A</a> <a id="595" class="Symbol"></a> <a id="597" href="Strict.html#503" class="Bound">B</a><a id="598" class="Symbol">)</a> <a id="600" class="Symbol"></a> <a id="602" href="Strict.html#524" class="Function">force</a> <a id="609" href="Strict.html#581" class="Bound">a</a> <a id="611" href="Strict.html#589" class="Bound">f</a> <a id="613" href="Agda.Builtin.Equality.html#133" class="Datatype Operator"></a> <a id="615" href="Strict.html#589" class="Bound">f</a> <a id="617" href="Strict.html#581" class="Bound">a</a>
<a id="621" href="Strict.html#569" class="Function">force-≡</a> <a id="630" class="Symbol">=</a> <a id="632" href="Strict.html#426" class="Primitive">force-≡</a>
<a id="643" href="Strict.html#643" class="Function">seq</a> <a id="647" class="Symbol">:</a> <a id="649" href="Strict.html#491" class="Bound">A</a> <a id="651" class="Symbol"></a> <a id="653" href="Strict.html#503" class="Bound">B</a> <a id="655" class="Symbol"></a> <a id="657" href="Strict.html#503" class="Bound">B</a>
<a id="661" href="Strict.html#643" class="Function">seq</a> <a id="665" href="Strict.html#665" class="Bound">a</a> <a id="667" href="Strict.html#667" class="Bound">b</a> <a id="669" class="Symbol">=</a> <a id="671" href="Strict.html#386" class="Primitive">force</a> <a id="677" href="Strict.html#665" class="Bound">a</a> <a id="679" class="Symbol"></a> <a id="682" href="Strict.html#682" class="Bound">_</a> <a id="684" class="Symbol"></a> <a id="686" href="Strict.html#667" class="Bound">b</a><a id="687" class="Symbol">)</a>
<a id="692" href="Strict.html#692" class="Function">seq-≡</a> <a id="698" class="Symbol">:</a> <a id="700" class="Symbol">(</a><a id="701" href="Strict.html#701" class="Bound">a</a> <a id="703" class="Symbol">:</a> <a id="705" href="Strict.html#491" class="Bound">A</a><a id="706" class="Symbol">)</a> <a id="708" class="Symbol">(</a><a id="709" href="Strict.html#709" class="Bound">b</a> <a id="711" class="Symbol">:</a> <a id="713" href="Strict.html#503" class="Bound">B</a><a id="714" class="Symbol">)</a> <a id="716" class="Symbol"></a> <a id="718" href="Strict.html#643" class="Function">seq</a> <a id="722" href="Strict.html#701" class="Bound">a</a> <a id="724" href="Strict.html#709" class="Bound">b</a> <a id="726" href="Agda.Builtin.Equality.html#133" class="Datatype Operator"></a> <a id="728" href="Strict.html#709" class="Bound">b</a>
<a id="732" href="Strict.html#692" class="Function">seq-≡</a> <a id="738" href="Strict.html#738" class="Bound">a</a> <a id="740" href="Strict.html#740" class="Bound">b</a> <a id="742" class="Symbol">=</a> <a id="744" href="Strict.html#426" class="Primitive">force-≡</a> <a id="752" href="Strict.html#738" class="Bound">a</a> <a id="754" class="Symbol"></a> <a id="757" href="Strict.html#757" class="Bound">_</a> <a id="759" class="Symbol"></a> <a id="761" href="Strict.html#740" class="Bound">b</a><a id="762" class="Symbol">)</a>
</pre></body></html>