A shorter follow-on to Typing the Technical Interview. Same interview. Same forty-five minutes. Easier question.
This code requires the
const-fn
branch of our nushell fork — on that branch const expressions can
call user defs and closures, so parse-time evaluation is ordinary
nushell instead of an unrolled trick.