in reply to Re^9: Yet Another Program on Closures ~ Steven Lembark ~ TPRC 2025 - YouTube
in thread Yet Another Program on Closures ~ Steven Lembark ~ TPRC 2025 - YouTube

I have now. The paper/quote shows that the closure uses a captured environment ("binding environment") instead of the environment that exists where the closure is called ("activation environment"). The environment of a closure is therefore fixed ("closed"). And that this is the source of the name closure.

Did *you* read it? Cause it defines a closure in terms of what variables it can access, just like I said.

  • Comment on Re^10: Yet Another Program on Closures ~ Steven Lembark ~ TPRC 2025 - YouTube

Replies are listed 'Best First'.
Re^11: Yet Another Program on Closures ~ Steven Lembark ~ TPRC 2025 - YouTube
by LanX (Saint) on Aug 05, 2025 at 21:25 UTC
    > Did you read it?

    Obviously!

    Anyway, my "no mono-threads below Re^10 because everything was already said at least twice" policy kicks in!

    See ya! :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery