// tests assume that variable `undefined` not redefined and has `void 0` as value unsafe_undefined: { options = { conditionals: true, if_return: true, unsafe_undefined: true, } mangle = {} input: { function f(undefined) { return function() { if (a) return b; if (c) return d; }; } } expect: { function f(n) { return function() { return a ? b : c ? d : n; }; } } } keep_fnames: { options = { conditionals: true, if_return: true, unsafe_undefined: true, } mangle = { keep_fnames: true } input: { function f(undefined) { return function() { function n(a) { return a * a; } if (a) return b; if (c) return d; }; } } expect: { function f(r) { return function() { function n(n) { return n * n; } return a ? b : c ? d : r; }; } } } =39b21d388aaf8e1dfa5e9763fe63d5d14aa12cd7'>treecommitdiff
path: root/gnu/services/herd.scm
AgeCommit message (Expand)Author
2022-05-28services: herd: Add 'wait-for-service'....* gnu/services/herd.scm (wait-for-service): New procedure. Ludovic Courtès
2022-04-10services: herd: Report whether a service is transient....* gnu/services/herd.scm (<live-service>)[transient?]: New field. (current-services): Check the value of 'transient?'. Call 'resolve-transients'. (resolve-transients): New procedure. Ludovic Courtès