Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Nov 7, 2024
1 parent 826436a commit e2a3d9a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions run/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,7 @@ function build(x, ...xs) {
}
exports.build = build;
function nonEmpty(xs) {
return xs.length === 0
? null
: {
_head: xs[0],
_tail: xs.slice(1),
};
return xs.length === 0 ? null : build(xs[0], ...xs.slice(1));
}
exports.nonEmpty = nonEmpty;
function append(a, b) {
Expand Down

0 comments on commit e2a3d9a

Please sign in to comment.