Scope modifiers: Difference between revisions

Content added Content deleted
(Scala added)
Line 253: Line 253:
"Variables" in lambda expressions have lexical scope. But can of course not be varied.
"Variables" in lambda expressions have lexical scope. But can of course not be varied.


<lang bracmat>/(x./(y.x$+y$)) { x and y have lexical scope }</lang>
<lang bracmat>/('(x./('(y.$x+$y))$3))$5 { x and y have lexical scope }</lang>


=={{header|C}}==
=={{header|C}}==