First-class functions: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: fixed a couple of syntax glitches, added personal tag) |
m (→{{header|Phix}}: spelling) |
||
Line 2,260: | Line 2,260: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
There is not really any direct support for this sort of thing in Phix, but it is all pretty trivial to manage explicitly.<br> |
There is not really any direct support for this sort of thing in Phix, but it is all pretty trivial to manage explicitly.<br> |
||
In the following, as it stands, constant m cannot be used the same way as a routine_id, and a standard routine_id cannot be passed to |
In the following, as it stands, constant m cannot be used the same way as a routine_id, and a standard routine_id cannot be passed to the first argument of call_composite, but tagging ctable entries so that you know exactly what to do with them does not sound difficult to me. |
||
<!--<lang Phix>(phixonline)--> |
<!--<lang Phix>(phixonline)--> |
||
<span style="color: #004080;">sequence</span> <span style="color: #000000;">ctable</span> <span style="color: #0000FF;">=</span> <span style="color: #0000FF;">{}</span> |
<span style="color: #004080;">sequence</span> <span style="color: #000000;">ctable</span> <span style="color: #0000FF;">=</span> <span style="color: #0000FF;">{}</span> |