1const $Column = (tag, _1, _2) => ({tag, _1, _2});
2const Zero = /* #__PURE__ */ $Column("Zero");
3const One = value0 => $Column("One", value0);
4const Two = value0 => value1 => $Column("Two", value0, value1);
5const testPBAN = v => v1 => {
7 if (v1.tag === "One") {
9 if (v1._1 === 1) { return 1; }
12 if (v._1 === 2 && v1._1 === 2) { return 2; }
16 if (v.tag === "Two" && v1.tag === "Two") { return 3; }
19const testPBA = v => v1 => {
20 if (v1.tag === "One") {
21 if (v.tag === "One") {
23 if (v1._1 === 1) { return 1; }
26 if (v._1 === 2 && v1._1 === 2) { return 2; }
30 if (v.tag === "Two" && v._1 === 1 && v1.tag === "Two") { return 3; }
33const testPB = v => v1 => {
34 if (v.tag === "One") {
35 if (v._1 === 1 && v1.tag === "One") {
36 if (v1._1 === 1) { return 1; }
39 if (v1.tag === "Zero") { return 3; }
42 if (v.tag === "Two" && v._1 === 2 && v._2 === 3 && v1.tag === "Two") {
43 if (v1._1 === 2 && v1._2 === 3) { return 2; }
46 if (v1.tag === "Zero") { return 3; }
49const testP = v => v1 => v2 => {
52 if (v2 === 1) { return 1; }
53 if (v2 === 2) { return 2; }
54 if (v2 === 3) { return 3; }
55 if (v2 === 4) { return 4; }
58 if (v2 === 3) { return 3; }
61 if (v === 1 && v2 === 4) { return 4; }
64export {$Column, One, Two, Zero, testP, testPB, testPBA, testPBAN};
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list