First class environments: Difference between revisions

m
→‎{{header|Phix}}: see also nested func
m (→‎{{header|Phix}}: see also nested func)
Line 1,386:
 
=={{header|Phix}}==
Emulation using edx as an "enviroment index" into static sequences. (You could of course nest the three sequences inside a single "environments" sequence, if you prefer.)<br>
See also [[Nested_function#Phix]]
<lang Phix>function hail(integer n)
if remainder(n,2)=0 then
7,795

edits