1import * as Data$dShow from "../Data.Show/index.js";
2import * as Partial from "../Partial/index.js";
3const test3 = {type: "foo", value: 42};
4const test2 = x => r => {
5 if (r.type === "foo") { return Data$dShow.showIntImpl(r.value); }
6 if (r.type === "bar") {
7 if (r.value) { return "true"; }
10 if (r.type === "baz") { return r.value; }
14 if (r.type === "baz") { return r.value; }
15 if (r.type === "bar") {
16 if (r.value) { return "true"; }
19 if (r.type === "foo") { return Data$dShow.showIntImpl(r.value); }
20 return Partial._crashWith("Data.Variant: pattern match failure [" + r.type + "]");
22export {test1, test2, test3};
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