Concept Flow - Capture lists in closures
Define variable x = 10
Create closure with capture list [x
Closure captures current x value
Change x to 20
Call closure
Closure uses captured x (10), not current x (20)
End
This flow shows how a closure captures a variable's value at creation using a capture list, preserving it even if the variable changes later.