58 ms·
yeah, i don't think that's valid because it turns a local transformation into a global transformation (sort of local, but only to the entire top-level function,
by kragen 2y ago
yeah, i don't think that's valid because it turns a local transformation into a global transformation (sort of local, but only to the entire top-level function, which can be arbitrarily large)
if you're willing to do the global transformation yourself instead of enlisting the computer to do it for you, you don't even need macros at all; you can do that with henry's example:
const resultMap = new Map();
above the function