git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
15 lines 664 B history raw
1const eq = ra => rb => ra.bar === rb.bar && ra.baz === rb.baz && ra.foo === rb.foo;
2const test9 = x => "hello" === x();
3const test8 = x => false;
4const test7 = false;
5const test6 = true;
6const test5 = a => a.bar === "hello" && !a.baz && a.foo === 42;
7const test4 = a => "hello" === a.bar && !a.baz && 42 === a.foo;
8const test3 = rb => "hello" === rb.bar && !rb.baz && 42 === rb.foo;
9const test2 = a => b => a.bar === b.bar && a.baz === b.baz && a.foo === b.foo;
10const test10 = x => {
11 const $0 = x();
12 return rb => $0 === rb.bar && rb.baz && 42 === rb.foo;
13};
14const test1 = eq;
15export {eq, test1, test10, test2, test3, test4, test5, test6, test7, test8, test9};