Re:Show HN: KatLang – Language for Calculations
by geocar on Friday December 03, 2021 @01:28AM
(#29427222)
q's functions don't capture the environment, so that's the same as:
and as in javascript:
and when i say they don't capture the environment, i mean this:
doesn't do anything except generate errors (° there are benefits to this approach!) because the inner function (that we are returning) sees the "global" g and not the one lexically scoped in the function (a better way to say it: no closures).
[ Parent
| on HN ]
There are no comments on this comment yet.