"a free variable is any variable used in a namespace which is not a local variable in that namespace." 😅
Conversation
Notices
-
Embed this notice
veer66 (veer66@mstdn.in.th)'s status on Sunday, 30-Mar-2025 21:52:08 JST veer66
-
Embed this notice
clacke@libranet.de is my main (notclacke@fedia.social)'s status on Sunday, 30-Mar-2025 21:52:08 JST clacke@libranet.de is my main
@veer66 Yes. It's a variable that is defined in an outer scope, and you cannot determine what value it might have by analyzing the code in the local scope. It is "free" because it is not bound in the local scope.
-
Embed this notice
clacke@libranet.de is my main (notclacke@fedia.social)'s status on Sunday, 30-Mar-2025 22:14:01 JST clacke@libranet.de is my main
@veer66 I believe the terminology goes all the way back to 1950s Lisp, but I don't have a source for that claim.
-
Embed this notice