Jump to content

Runtime evaluation: Difference between revisions

m
m (Typo fix)
Line 224:
The <tt>evaluate</tt> method also takes into consideration the current lexical scope, unless another environment is specified. The following returns 10, no matter what binding <tt>x</tt> has in the local namespace:
<lang slate>
define: #x -> 4.
[| x | x: 5. `(x `unquote + 5) evaluate] do.
</lang>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.