What is Nostr?
Jesús Gómez /
npub13sf…r8ry
2024-04-28 08:28:30

Jesús Gómez on Nostr: "Best" definition of #Closure: "The concept of 'closure' is the idea that a lambda ...

"Best" definition of #Closure:

"The concept of 'closure' is the idea that a lambda expression 'captures'
the variable bindings that are in lexical scope at the point where the
lambda expression occurs. The procedure created by the lambda
expression can refer to and mutate the captured bindings, and the values
of those bindings persist between procedure calls." - GNU #Guile manual

procedure = function
lambda expression = build a function expression
lexical scope = what you can reach by reading
Author Public Key
npub13sf5pnq4m2zqsef0ygaxkzn30n4pptl45t6ae2m8w5st64zmp8cq8pr8ry