4 ms·
One can spend an enjoyable afternoon re-implementing some of these using the equivalent of lisp's cons as a node: let node = (a,b) => (bool) => bool?a:b; It
by asciimov 4y ago
One can spend an enjoyable afternoon re-implementing some of these using the equivalent of lisp's cons as a node:
let node = (a,b) => (bool) => bool?a:b;
It's a fun little exercise to also keep the rest of the functions minimalist.