mirror of
https://git8.cs.fau.de/theses/bsc-leon-vatthauer.git
synced 2024-05-31 07:28:34 +02:00
82 lines
No EOL
36 KiB
HTML
82 lines
No EOL
36 KiB
HTML
<!DOCTYPE HTML>
|
||
<html><head><meta charset="utf-8"><title>Data.These.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">-- An either-or-both data type, basic type and operations</a>
|
||
<a id="164" class="Comment">------------------------------------------------------------------------</a>
|
||
|
||
<a id="238" class="Symbol">{-#</a> <a id="242" class="Keyword">OPTIONS</a> <a id="250" class="Pragma">--cubical-compatible</a> <a id="271" class="Pragma">--safe</a> <a id="278" class="Symbol">#-}</a>
|
||
|
||
<a id="283" class="Keyword">module</a> <a id="290" href="Data.These.Base.html" class="Module">Data.These.Base</a> <a id="306" class="Keyword">where</a>
|
||
|
||
<a id="313" class="Keyword">open</a> <a id="318" class="Keyword">import</a> <a id="325" href="Level.html" class="Module">Level</a>
|
||
<a id="331" class="Keyword">open</a> <a id="336" class="Keyword">import</a> <a id="343" href="Data.Sum.Base.html" class="Module">Data.Sum.Base</a> <a id="357" class="Keyword">using</a> <a id="363" class="Symbol">(</a><a id="364" href="Data.Sum.Base.html#625" class="Datatype Operator">_⊎_</a><a id="367" class="Symbol">;</a> <a id="369" href="Data.Sum.Base.html#980" class="Function Operator">[_,_]′</a><a id="375" class="Symbol">)</a>
|
||
<a id="377" class="Keyword">open</a> <a id="382" class="Keyword">import</a> <a id="389" href="Function.Base.html" class="Module">Function.Base</a>
|
||
|
||
<a id="404" class="Keyword">private</a>
|
||
<a id="414" class="Keyword">variable</a>
|
||
<a id="427" href="Data.These.Base.html#427" class="Generalizable">a</a> <a id="429" href="Data.These.Base.html#429" class="Generalizable">b</a> <a id="431" href="Data.These.Base.html#431" class="Generalizable">c</a> <a id="433" href="Data.These.Base.html#433" class="Generalizable">d</a> <a id="435" href="Data.These.Base.html#435" class="Generalizable">e</a> <a id="437" href="Data.These.Base.html#437" class="Generalizable">f</a> <a id="439" class="Symbol">:</a> <a id="441" href="Agda.Primitive.html#742" class="Postulate">Level</a>
|
||
<a id="451" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="453" class="Symbol">:</a> <a id="455" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="459" href="Data.These.Base.html#427" class="Generalizable">a</a>
|
||
<a id="465" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="467" class="Symbol">:</a> <a id="469" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="473" href="Data.These.Base.html#429" class="Generalizable">b</a>
|
||
<a id="479" href="Data.These.Base.html#479" class="Generalizable">C</a> <a id="481" class="Symbol">:</a> <a id="483" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="487" href="Data.These.Base.html#431" class="Generalizable">c</a>
|
||
<a id="493" href="Data.These.Base.html#493" class="Generalizable">D</a> <a id="495" class="Symbol">:</a> <a id="497" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="501" href="Data.These.Base.html#433" class="Generalizable">d</a>
|
||
<a id="507" href="Data.These.Base.html#507" class="Generalizable">E</a> <a id="509" class="Symbol">:</a> <a id="511" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="515" href="Data.These.Base.html#435" class="Generalizable">e</a>
|
||
<a id="521" href="Data.These.Base.html#521" class="Generalizable">F</a> <a id="523" class="Symbol">:</a> <a id="525" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="529" href="Data.These.Base.html#437" class="Generalizable">f</a>
|
||
|
||
<a id="532" class="Keyword">data</a> <a id="These"></a><a id="537" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="543" class="Symbol">{</a><a id="544" href="Data.These.Base.html#544" class="Bound">a</a> <a id="546" href="Data.These.Base.html#546" class="Bound">b</a><a id="547" class="Symbol">}</a> <a id="549" class="Symbol">(</a><a id="550" href="Data.These.Base.html#550" class="Bound">A</a> <a id="552" class="Symbol">:</a> <a id="554" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="558" href="Data.These.Base.html#544" class="Bound">a</a><a id="559" class="Symbol">)</a> <a id="561" class="Symbol">(</a><a id="562" href="Data.These.Base.html#562" class="Bound">B</a> <a id="564" class="Symbol">:</a> <a id="566" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="570" href="Data.These.Base.html#546" class="Bound">b</a><a id="571" class="Symbol">)</a> <a id="573" class="Symbol">:</a> <a id="575" href="Agda.Primitive.html#388" class="Primitive">Set</a> <a id="579" class="Symbol">(</a><a id="580" href="Data.These.Base.html#544" class="Bound">a</a> <a id="582" href="Agda.Primitive.html#961" class="Primitive Operator">⊔</a> <a id="584" href="Data.These.Base.html#546" class="Bound">b</a><a id="585" class="Symbol">)</a> <a id="587" class="Keyword">where</a>
|
||
<a id="These.this"></a><a id="595" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="601" class="Symbol">:</a> <a id="603" href="Data.These.Base.html#550" class="Bound">A</a> <a id="609" class="Symbol">→</a> <a id="611" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="617" href="Data.These.Base.html#550" class="Bound">A</a> <a id="619" href="Data.These.Base.html#562" class="Bound">B</a>
|
||
<a id="These.that"></a><a id="623" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="629" class="Symbol">:</a> <a id="635" href="Data.These.Base.html#562" class="Bound">B</a> <a id="637" class="Symbol">→</a> <a id="639" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="645" href="Data.These.Base.html#550" class="Bound">A</a> <a id="647" href="Data.These.Base.html#562" class="Bound">B</a>
|
||
<a id="These.these"></a><a id="651" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="657" class="Symbol">:</a> <a id="659" href="Data.These.Base.html#550" class="Bound">A</a> <a id="661" class="Symbol">→</a> <a id="663" href="Data.These.Base.html#562" class="Bound">B</a> <a id="665" class="Symbol">→</a> <a id="667" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="673" href="Data.These.Base.html#550" class="Bound">A</a> <a id="675" href="Data.These.Base.html#562" class="Bound">B</a>
|
||
|
||
<a id="678" class="Comment">------------------------------------------------------------------------</a>
|
||
<a id="751" class="Comment">-- Operations</a>
|
||
|
||
<a id="766" class="Comment">-- injection</a>
|
||
|
||
<a id="fromSum"></a><a id="780" href="Data.These.Base.html#780" class="Function">fromSum</a> <a id="788" class="Symbol">:</a> <a id="790" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="792" href="Data.Sum.Base.html#625" class="Datatype Operator">⊎</a> <a id="794" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="796" class="Symbol">→</a> <a id="798" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="804" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="806" href="Data.These.Base.html#465" class="Generalizable">B</a>
|
||
<a id="808" href="Data.These.Base.html#780" class="Function">fromSum</a> <a id="816" class="Symbol">=</a> <a id="818" href="Data.Sum.Base.html#980" class="Function Operator">[</a> <a id="820" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="825" href="Data.Sum.Base.html#980" class="Function Operator">,</a> <a id="827" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="832" href="Data.Sum.Base.html#980" class="Function Operator">]′</a>
|
||
|
||
<a id="836" class="Comment">-- map</a>
|
||
|
||
<a id="map"></a><a id="844" href="Data.These.Base.html#844" class="Function">map</a> <a id="848" class="Symbol">:</a> <a id="850" class="Symbol">(</a><a id="851" href="Data.These.Base.html#851" class="Bound">f</a> <a id="853" class="Symbol">:</a> <a id="855" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="857" class="Symbol">→</a> <a id="859" href="Data.These.Base.html#465" class="Generalizable">B</a><a id="860" class="Symbol">)</a> <a id="862" class="Symbol">(</a><a id="863" href="Data.These.Base.html#863" class="Bound">g</a> <a id="865" class="Symbol">:</a> <a id="867" href="Data.These.Base.html#479" class="Generalizable">C</a> <a id="869" class="Symbol">→</a> <a id="871" href="Data.These.Base.html#493" class="Generalizable">D</a><a id="872" class="Symbol">)</a> <a id="874" class="Symbol">→</a> <a id="876" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="882" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="884" href="Data.These.Base.html#479" class="Generalizable">C</a> <a id="886" class="Symbol">→</a> <a id="888" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="894" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="896" href="Data.These.Base.html#493" class="Generalizable">D</a>
|
||
<a id="898" href="Data.These.Base.html#844" class="Function">map</a> <a id="902" href="Data.These.Base.html#902" class="Bound">f</a> <a id="904" href="Data.These.Base.html#904" class="Bound">g</a> <a id="906" class="Symbol">(</a><a id="907" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="912" href="Data.These.Base.html#912" class="Bound">a</a><a id="913" class="Symbol">)</a> <a id="918" class="Symbol">=</a> <a id="920" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="925" class="Symbol">(</a><a id="926" href="Data.These.Base.html#902" class="Bound">f</a> <a id="928" href="Data.These.Base.html#912" class="Bound">a</a><a id="929" class="Symbol">)</a>
|
||
<a id="931" href="Data.These.Base.html#844" class="Function">map</a> <a id="935" href="Data.These.Base.html#935" class="Bound">f</a> <a id="937" href="Data.These.Base.html#937" class="Bound">g</a> <a id="939" class="Symbol">(</a><a id="940" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="945" href="Data.These.Base.html#945" class="Bound">b</a><a id="946" class="Symbol">)</a> <a id="951" class="Symbol">=</a> <a id="953" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="958" class="Symbol">(</a><a id="959" href="Data.These.Base.html#937" class="Bound">g</a> <a id="961" href="Data.These.Base.html#945" class="Bound">b</a><a id="962" class="Symbol">)</a>
|
||
<a id="964" href="Data.These.Base.html#844" class="Function">map</a> <a id="968" href="Data.These.Base.html#968" class="Bound">f</a> <a id="970" href="Data.These.Base.html#970" class="Bound">g</a> <a id="972" class="Symbol">(</a><a id="973" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="979" href="Data.These.Base.html#979" class="Bound">a</a> <a id="981" href="Data.These.Base.html#981" class="Bound">b</a><a id="982" class="Symbol">)</a> <a id="984" class="Symbol">=</a> <a id="986" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="992" class="Symbol">(</a><a id="993" href="Data.These.Base.html#968" class="Bound">f</a> <a id="995" href="Data.These.Base.html#979" class="Bound">a</a><a id="996" class="Symbol">)</a> <a id="998" class="Symbol">(</a><a id="999" href="Data.These.Base.html#970" class="Bound">g</a> <a id="1001" href="Data.These.Base.html#981" class="Bound">b</a><a id="1002" class="Symbol">)</a>
|
||
|
||
<a id="map₁"></a><a id="1005" href="Data.These.Base.html#1005" class="Function">map₁</a> <a id="1010" class="Symbol">:</a> <a id="1012" class="Symbol">(</a><a id="1013" href="Data.These.Base.html#1013" class="Bound">f</a> <a id="1015" class="Symbol">:</a> <a id="1017" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1019" class="Symbol">→</a> <a id="1021" href="Data.These.Base.html#465" class="Generalizable">B</a><a id="1022" class="Symbol">)</a> <a id="1024" class="Symbol">→</a> <a id="1026" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1032" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1034" href="Data.These.Base.html#479" class="Generalizable">C</a> <a id="1036" class="Symbol">→</a> <a id="1038" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1044" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1046" href="Data.These.Base.html#479" class="Generalizable">C</a>
|
||
<a id="1048" href="Data.These.Base.html#1005" class="Function">map₁</a> <a id="1053" href="Data.These.Base.html#1053" class="Bound">f</a> <a id="1055" class="Symbol">=</a> <a id="1057" href="Data.These.Base.html#844" class="Function">map</a> <a id="1061" href="Data.These.Base.html#1053" class="Bound">f</a> <a id="1063" href="Function.Base.html#704" class="Function">id</a>
|
||
|
||
<a id="map₂"></a><a id="1067" href="Data.These.Base.html#1067" class="Function">map₂</a> <a id="1072" class="Symbol">:</a> <a id="1074" class="Symbol">(</a><a id="1075" href="Data.These.Base.html#1075" class="Bound">g</a> <a id="1077" class="Symbol">:</a> <a id="1079" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1081" class="Symbol">→</a> <a id="1083" href="Data.These.Base.html#479" class="Generalizable">C</a><a id="1084" class="Symbol">)</a> <a id="1086" class="Symbol">→</a> <a id="1088" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1094" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1096" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1098" class="Symbol">→</a> <a id="1100" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1106" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1108" href="Data.These.Base.html#479" class="Generalizable">C</a>
|
||
<a id="1110" href="Data.These.Base.html#1067" class="Function">map₂</a> <a id="1115" class="Symbol">=</a> <a id="1117" href="Data.These.Base.html#844" class="Function">map</a> <a id="1121" href="Function.Base.html#704" class="Function">id</a>
|
||
|
||
<a id="1125" class="Comment">-- fold</a>
|
||
|
||
<a id="fold"></a><a id="1134" href="Data.These.Base.html#1134" class="Function">fold</a> <a id="1139" class="Symbol">:</a> <a id="1141" class="Symbol">(</a><a id="1142" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1144" class="Symbol">→</a> <a id="1146" href="Data.These.Base.html#479" class="Generalizable">C</a><a id="1147" class="Symbol">)</a> <a id="1149" class="Symbol">→</a> <a id="1151" class="Symbol">(</a><a id="1152" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1154" class="Symbol">→</a> <a id="1156" href="Data.These.Base.html#479" class="Generalizable">C</a><a id="1157" class="Symbol">)</a> <a id="1159" class="Symbol">→</a> <a id="1161" class="Symbol">(</a><a id="1162" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1164" class="Symbol">→</a> <a id="1166" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1168" class="Symbol">→</a> <a id="1170" href="Data.These.Base.html#479" class="Generalizable">C</a><a id="1171" class="Symbol">)</a> <a id="1173" class="Symbol">→</a> <a id="1175" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1181" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1183" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1185" class="Symbol">→</a> <a id="1187" href="Data.These.Base.html#479" class="Generalizable">C</a>
|
||
<a id="1189" href="Data.These.Base.html#1134" class="Function">fold</a> <a id="1194" href="Data.These.Base.html#1194" class="Bound">l</a> <a id="1196" href="Data.These.Base.html#1196" class="Bound">r</a> <a id="1198" href="Data.These.Base.html#1198" class="Bound">lr</a> <a id="1201" class="Symbol">(</a><a id="1202" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1207" href="Data.These.Base.html#1207" class="Bound">a</a><a id="1208" class="Symbol">)</a> <a id="1213" class="Symbol">=</a> <a id="1215" href="Data.These.Base.html#1194" class="Bound">l</a> <a id="1217" href="Data.These.Base.html#1207" class="Bound">a</a>
|
||
<a id="1219" href="Data.These.Base.html#1134" class="Function">fold</a> <a id="1224" href="Data.These.Base.html#1224" class="Bound">l</a> <a id="1226" href="Data.These.Base.html#1226" class="Bound">r</a> <a id="1228" href="Data.These.Base.html#1228" class="Bound">lr</a> <a id="1231" class="Symbol">(</a><a id="1232" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1237" href="Data.These.Base.html#1237" class="Bound">b</a><a id="1238" class="Symbol">)</a> <a id="1243" class="Symbol">=</a> <a id="1245" href="Data.These.Base.html#1226" class="Bound">r</a> <a id="1247" href="Data.These.Base.html#1237" class="Bound">b</a>
|
||
<a id="1249" href="Data.These.Base.html#1134" class="Function">fold</a> <a id="1254" href="Data.These.Base.html#1254" class="Bound">l</a> <a id="1256" href="Data.These.Base.html#1256" class="Bound">r</a> <a id="1258" href="Data.These.Base.html#1258" class="Bound">lr</a> <a id="1261" class="Symbol">(</a><a id="1262" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1268" href="Data.These.Base.html#1268" class="Bound">a</a> <a id="1270" href="Data.These.Base.html#1270" class="Bound">b</a><a id="1271" class="Symbol">)</a> <a id="1273" class="Symbol">=</a> <a id="1275" href="Data.These.Base.html#1258" class="Bound">lr</a> <a id="1278" href="Data.These.Base.html#1268" class="Bound">a</a> <a id="1280" href="Data.These.Base.html#1270" class="Bound">b</a>
|
||
|
||
<a id="foldWithDefaults"></a><a id="1283" href="Data.These.Base.html#1283" class="Function">foldWithDefaults</a> <a id="1300" class="Symbol">:</a> <a id="1302" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1304" class="Symbol">→</a> <a id="1306" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1308" class="Symbol">→</a> <a id="1310" class="Symbol">(</a><a id="1311" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1313" class="Symbol">→</a> <a id="1315" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1317" class="Symbol">→</a> <a id="1319" href="Data.These.Base.html#479" class="Generalizable">C</a><a id="1320" class="Symbol">)</a> <a id="1322" class="Symbol">→</a> <a id="1324" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1330" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1332" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1334" class="Symbol">→</a> <a id="1336" href="Data.These.Base.html#479" class="Generalizable">C</a>
|
||
<a id="1338" href="Data.These.Base.html#1283" class="Function">foldWithDefaults</a> <a id="1355" href="Data.These.Base.html#1355" class="Bound">a</a> <a id="1357" href="Data.These.Base.html#1357" class="Bound">b</a> <a id="1359" href="Data.These.Base.html#1359" class="Bound">lr</a> <a id="1362" class="Symbol">=</a> <a id="1364" href="Data.These.Base.html#1134" class="Function">fold</a> <a id="1369" class="Symbol">(</a><a id="1370" href="Function.Base.html#1638" class="Function">flip</a> <a id="1375" href="Data.These.Base.html#1359" class="Bound">lr</a> <a id="1378" href="Data.These.Base.html#1357" class="Bound">b</a><a id="1379" class="Symbol">)</a> <a id="1381" class="Symbol">(</a><a id="1382" href="Data.These.Base.html#1359" class="Bound">lr</a> <a id="1385" href="Data.These.Base.html#1355" class="Bound">a</a><a id="1386" class="Symbol">)</a> <a id="1388" href="Data.These.Base.html#1359" class="Bound">lr</a>
|
||
|
||
<a id="1392" class="Comment">-- swap</a>
|
||
|
||
<a id="swap"></a><a id="1401" href="Data.These.Base.html#1401" class="Function">swap</a> <a id="1406" class="Symbol">:</a> <a id="1408" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1414" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1416" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1418" class="Symbol">→</a> <a id="1420" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1426" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1428" href="Data.These.Base.html#451" class="Generalizable">A</a>
|
||
<a id="1430" href="Data.These.Base.html#1401" class="Function">swap</a> <a id="1435" class="Symbol">=</a> <a id="1437" href="Data.These.Base.html#1134" class="Function">fold</a> <a id="1442" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1447" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1452" class="Symbol">(</a><a id="1453" href="Function.Base.html#1638" class="Function">flip</a> <a id="1458" href="Data.These.Base.html#651" class="InductiveConstructor">these</a><a id="1463" class="Symbol">)</a>
|
||
|
||
<a id="1466" class="Comment">-- align</a>
|
||
|
||
<a id="alignWith"></a><a id="1476" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="1486" class="Symbol">:</a> <a id="1488" class="Symbol">(</a><a id="1489" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1495" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1497" href="Data.These.Base.html#479" class="Generalizable">C</a> <a id="1499" class="Symbol">→</a> <a id="1501" href="Data.These.Base.html#507" class="Generalizable">E</a><a id="1502" class="Symbol">)</a> <a id="1504" class="Symbol">→</a> <a id="1506" class="Symbol">(</a><a id="1507" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1513" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1515" href="Data.These.Base.html#493" class="Generalizable">D</a> <a id="1517" class="Symbol">→</a> <a id="1519" href="Data.These.Base.html#521" class="Generalizable">F</a><a id="1520" class="Symbol">)</a> <a id="1522" class="Symbol">→</a> <a id="1524" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1530" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="1532" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="1534" class="Symbol">→</a> <a id="1536" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1542" href="Data.These.Base.html#479" class="Generalizable">C</a> <a id="1544" href="Data.These.Base.html#493" class="Generalizable">D</a> <a id="1546" class="Symbol">→</a> <a id="1548" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="1554" href="Data.These.Base.html#507" class="Generalizable">E</a> <a id="1556" href="Data.These.Base.html#521" class="Generalizable">F</a>
|
||
<a id="1558" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="1568" href="Data.These.Base.html#1568" class="Bound">f</a> <a id="1570" href="Data.These.Base.html#1570" class="Bound">g</a> <a id="1572" class="Symbol">(</a><a id="1573" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1578" href="Data.These.Base.html#1578" class="Bound">a</a><a id="1579" class="Symbol">)</a> <a id="1584" class="Symbol">(</a><a id="1585" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1590" href="Data.These.Base.html#1590" class="Bound">c</a><a id="1591" class="Symbol">)</a> <a id="1596" class="Symbol">=</a> <a id="1598" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1603" class="Symbol">(</a><a id="1604" href="Data.These.Base.html#1568" class="Bound">f</a> <a id="1606" class="Symbol">(</a><a id="1607" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1613" href="Data.These.Base.html#1578" class="Bound">a</a> <a id="1615" href="Data.These.Base.html#1590" class="Bound">c</a><a id="1616" class="Symbol">))</a>
|
||
<a id="1619" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="1629" href="Data.These.Base.html#1629" class="Bound">f</a> <a id="1631" href="Data.These.Base.html#1631" class="Bound">g</a> <a id="1633" class="Symbol">(</a><a id="1634" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1639" href="Data.These.Base.html#1639" class="Bound">a</a><a id="1640" class="Symbol">)</a> <a id="1645" class="Symbol">(</a><a id="1646" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1651" href="Data.These.Base.html#1651" class="Bound">d</a><a id="1652" class="Symbol">)</a> <a id="1657" class="Symbol">=</a> <a id="1659" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1665" class="Symbol">(</a><a id="1666" href="Data.These.Base.html#1629" class="Bound">f</a> <a id="1668" class="Symbol">(</a><a id="1669" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1674" href="Data.These.Base.html#1639" class="Bound">a</a><a id="1675" class="Symbol">))</a> <a id="1678" class="Symbol">(</a><a id="1679" href="Data.These.Base.html#1631" class="Bound">g</a> <a id="1681" class="Symbol">(</a><a id="1682" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1687" href="Data.These.Base.html#1651" class="Bound">d</a><a id="1688" class="Symbol">))</a>
|
||
<a id="1691" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="1701" href="Data.These.Base.html#1701" class="Bound">f</a> <a id="1703" href="Data.These.Base.html#1703" class="Bound">g</a> <a id="1705" class="Symbol">(</a><a id="1706" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1711" href="Data.These.Base.html#1711" class="Bound">a</a><a id="1712" class="Symbol">)</a> <a id="1717" class="Symbol">(</a><a id="1718" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1724" href="Data.These.Base.html#1724" class="Bound">c</a> <a id="1726" href="Data.These.Base.html#1726" class="Bound">d</a><a id="1727" class="Symbol">)</a> <a id="1729" class="Symbol">=</a> <a id="1731" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1737" class="Symbol">(</a><a id="1738" href="Data.These.Base.html#1701" class="Bound">f</a> <a id="1740" class="Symbol">(</a><a id="1741" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1747" href="Data.These.Base.html#1711" class="Bound">a</a> <a id="1749" href="Data.These.Base.html#1724" class="Bound">c</a><a id="1750" class="Symbol">))</a> <a id="1753" class="Symbol">(</a><a id="1754" href="Data.These.Base.html#1703" class="Bound">g</a> <a id="1756" class="Symbol">(</a><a id="1757" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1762" href="Data.These.Base.html#1726" class="Bound">d</a><a id="1763" class="Symbol">))</a>
|
||
<a id="1766" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="1776" href="Data.These.Base.html#1776" class="Bound">f</a> <a id="1778" href="Data.These.Base.html#1778" class="Bound">g</a> <a id="1780" class="Symbol">(</a><a id="1781" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1786" href="Data.These.Base.html#1786" class="Bound">b</a><a id="1787" class="Symbol">)</a> <a id="1792" class="Symbol">(</a><a id="1793" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1798" href="Data.These.Base.html#1798" class="Bound">c</a><a id="1799" class="Symbol">)</a> <a id="1804" class="Symbol">=</a> <a id="1806" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1812" class="Symbol">(</a><a id="1813" href="Data.These.Base.html#1776" class="Bound">f</a> <a id="1815" class="Symbol">(</a><a id="1816" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1821" href="Data.These.Base.html#1798" class="Bound">c</a><a id="1822" class="Symbol">))</a> <a id="1825" class="Symbol">(</a><a id="1826" href="Data.These.Base.html#1778" class="Bound">g</a> <a id="1828" class="Symbol">(</a><a id="1829" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="1834" href="Data.These.Base.html#1786" class="Bound">b</a><a id="1835" class="Symbol">))</a>
|
||
<a id="1838" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="1848" href="Data.These.Base.html#1848" class="Bound">f</a> <a id="1850" href="Data.These.Base.html#1850" class="Bound">g</a> <a id="1852" class="Symbol">(</a><a id="1853" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1858" href="Data.These.Base.html#1858" class="Bound">b</a><a id="1859" class="Symbol">)</a> <a id="1864" class="Symbol">(</a><a id="1865" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1870" href="Data.These.Base.html#1870" class="Bound">d</a><a id="1871" class="Symbol">)</a> <a id="1876" class="Symbol">=</a> <a id="1878" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1883" class="Symbol">(</a><a id="1884" href="Data.These.Base.html#1850" class="Bound">g</a> <a id="1886" class="Symbol">(</a><a id="1887" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1893" href="Data.These.Base.html#1858" class="Bound">b</a> <a id="1895" href="Data.These.Base.html#1870" class="Bound">d</a><a id="1896" class="Symbol">))</a>
|
||
<a id="1899" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="1909" href="Data.These.Base.html#1909" class="Bound">f</a> <a id="1911" href="Data.These.Base.html#1911" class="Bound">g</a> <a id="1913" class="Symbol">(</a><a id="1914" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1919" href="Data.These.Base.html#1919" class="Bound">b</a><a id="1920" class="Symbol">)</a> <a id="1925" class="Symbol">(</a><a id="1926" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1932" href="Data.These.Base.html#1932" class="Bound">c</a> <a id="1934" href="Data.These.Base.html#1934" class="Bound">d</a><a id="1935" class="Symbol">)</a> <a id="1937" class="Symbol">=</a> <a id="1939" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1945" class="Symbol">(</a><a id="1946" href="Data.These.Base.html#1909" class="Bound">f</a> <a id="1948" class="Symbol">(</a><a id="1949" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="1954" href="Data.These.Base.html#1932" class="Bound">c</a><a id="1955" class="Symbol">))</a> <a id="1958" class="Symbol">(</a><a id="1959" href="Data.These.Base.html#1911" class="Bound">g</a> <a id="1961" class="Symbol">(</a><a id="1962" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1968" href="Data.These.Base.html#1919" class="Bound">b</a> <a id="1970" href="Data.These.Base.html#1934" class="Bound">d</a><a id="1971" class="Symbol">))</a>
|
||
<a id="1974" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="1984" href="Data.These.Base.html#1984" class="Bound">f</a> <a id="1986" href="Data.These.Base.html#1986" class="Bound">g</a> <a id="1988" class="Symbol">(</a><a id="1989" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="1995" href="Data.These.Base.html#1995" class="Bound">a</a> <a id="1997" href="Data.These.Base.html#1997" class="Bound">b</a><a id="1998" class="Symbol">)</a> <a id="2000" class="Symbol">(</a><a id="2001" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="2006" href="Data.These.Base.html#2006" class="Bound">c</a><a id="2007" class="Symbol">)</a> <a id="2012" class="Symbol">=</a> <a id="2014" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2020" class="Symbol">(</a><a id="2021" href="Data.These.Base.html#1984" class="Bound">f</a> <a id="2023" class="Symbol">(</a><a id="2024" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2030" href="Data.These.Base.html#1995" class="Bound">a</a> <a id="2032" href="Data.These.Base.html#2006" class="Bound">c</a><a id="2033" class="Symbol">))</a> <a id="2036" class="Symbol">(</a><a id="2037" href="Data.These.Base.html#1986" class="Bound">g</a> <a id="2039" class="Symbol">(</a><a id="2040" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="2045" href="Data.These.Base.html#1997" class="Bound">b</a><a id="2046" class="Symbol">))</a>
|
||
<a id="2049" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="2059" href="Data.These.Base.html#2059" class="Bound">f</a> <a id="2061" href="Data.These.Base.html#2061" class="Bound">g</a> <a id="2063" class="Symbol">(</a><a id="2064" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2070" href="Data.These.Base.html#2070" class="Bound">a</a> <a id="2072" href="Data.These.Base.html#2072" class="Bound">b</a><a id="2073" class="Symbol">)</a> <a id="2075" class="Symbol">(</a><a id="2076" href="Data.These.Base.html#623" class="InductiveConstructor">that</a> <a id="2081" href="Data.These.Base.html#2081" class="Bound">d</a><a id="2082" class="Symbol">)</a> <a id="2087" class="Symbol">=</a> <a id="2089" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2095" class="Symbol">(</a><a id="2096" href="Data.These.Base.html#2059" class="Bound">f</a> <a id="2098" class="Symbol">(</a><a id="2099" href="Data.These.Base.html#595" class="InductiveConstructor">this</a> <a id="2104" href="Data.These.Base.html#2070" class="Bound">a</a><a id="2105" class="Symbol">))</a> <a id="2108" class="Symbol">(</a><a id="2109" href="Data.These.Base.html#2061" class="Bound">g</a> <a id="2111" class="Symbol">(</a><a id="2112" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2118" href="Data.These.Base.html#2072" class="Bound">b</a> <a id="2120" href="Data.These.Base.html#2081" class="Bound">d</a><a id="2121" class="Symbol">))</a>
|
||
<a id="2124" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="2134" href="Data.These.Base.html#2134" class="Bound">f</a> <a id="2136" href="Data.These.Base.html#2136" class="Bound">g</a> <a id="2138" class="Symbol">(</a><a id="2139" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2145" href="Data.These.Base.html#2145" class="Bound">a</a> <a id="2147" href="Data.These.Base.html#2147" class="Bound">b</a><a id="2148" class="Symbol">)</a> <a id="2150" class="Symbol">(</a><a id="2151" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2157" href="Data.These.Base.html#2157" class="Bound">c</a> <a id="2159" href="Data.These.Base.html#2159" class="Bound">d</a><a id="2160" class="Symbol">)</a> <a id="2162" class="Symbol">=</a> <a id="2164" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2170" class="Symbol">(</a><a id="2171" href="Data.These.Base.html#2134" class="Bound">f</a> <a id="2173" class="Symbol">(</a><a id="2174" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2180" href="Data.These.Base.html#2145" class="Bound">a</a> <a id="2182" href="Data.These.Base.html#2157" class="Bound">c</a><a id="2183" class="Symbol">))</a> <a id="2186" class="Symbol">(</a><a id="2187" href="Data.These.Base.html#2136" class="Bound">g</a> <a id="2189" class="Symbol">(</a><a id="2190" href="Data.These.Base.html#651" class="InductiveConstructor">these</a> <a id="2196" href="Data.These.Base.html#2147" class="Bound">b</a> <a id="2198" href="Data.These.Base.html#2159" class="Bound">d</a><a id="2199" class="Symbol">))</a>
|
||
|
||
<a id="align"></a><a id="2203" href="Data.These.Base.html#2203" class="Function">align</a> <a id="2209" class="Symbol">:</a> <a id="2211" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="2217" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="2219" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="2221" class="Symbol">→</a> <a id="2223" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="2229" href="Data.These.Base.html#479" class="Generalizable">C</a> <a id="2231" href="Data.These.Base.html#493" class="Generalizable">D</a> <a id="2233" class="Symbol">→</a> <a id="2235" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="2241" class="Symbol">(</a><a id="2242" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="2248" href="Data.These.Base.html#451" class="Generalizable">A</a> <a id="2250" href="Data.These.Base.html#479" class="Generalizable">C</a><a id="2251" class="Symbol">)</a> <a id="2253" class="Symbol">(</a><a id="2254" href="Data.These.Base.html#537" class="Datatype">These</a> <a id="2260" href="Data.These.Base.html#465" class="Generalizable">B</a> <a id="2262" href="Data.These.Base.html#493" class="Generalizable">D</a><a id="2263" class="Symbol">)</a>
|
||
<a id="2265" href="Data.These.Base.html#2203" class="Function">align</a> <a id="2271" class="Symbol">=</a> <a id="2273" href="Data.These.Base.html#1476" class="Function">alignWith</a> <a id="2283" href="Function.Base.html#704" class="Function">id</a> <a id="2286" href="Function.Base.html#704" class="Function">id</a>
|
||
</pre></body></html> |