git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
17 lines 593 B history raw
1// @inline Snapshot.BranchSpecialization01.eqTest.eq arity=2
2const $Test = tag => tag;
3const Foo = /* #__PURE__ */ $Test("Foo");
4const Bar = /* #__PURE__ */ $Test("Bar");
5const Baz = /* #__PURE__ */ $Test("Baz");
6const Qux = /* #__PURE__ */ $Test("Qux");
7const eqTest = {
8 eq: x => y => {
9 if (x === "Foo") { return y === "Foo"; }
10 if (x === "Bar") { return y === "Bar"; }
11 if (x === "Baz") { return y === "Baz"; }
12 return x === "Qux" && y === "Qux";
13 }
14};
15const test1 = a => a === "Baz";
16const test2 = a => a === "Baz";
17export {$Test, Bar, Baz, Foo, Qux, eqTest, test1, test2};