DEV Community

Discussion on: Function vs Object

citizen428 profile image
Michael Kohl

Not sure what you mean, even the Wikipedia entry on closures relates them to free variables in LC:

en.m.wikipedia.org/wiki/Closure_(c...

Thread Thread
stereobooster profile image
stereobooster Author • Edited on

Yes it uses free variables. My question is closure ≡ open lambda term (open lambda term - the one with free variables)? Because from implementation point of view closed lambda terms can be closures as well.

(This is just some thoughts out loud. Not questioning your comment)