Higher-order functions: Difference between revisions
Content deleted Content added
user defined examples |
m Added a Trith example. |
||
Line 1,180:
[ invoke ] is second
` first second</lang>
=={{header|Trith}}==
Due to the homoiconic program representation and the [[concatenative]] nature of the language, higher-order functions are as simple as:
<lang trith>
: twice 2 times ;
: hello "Hello, world!" print ;
[hello] twice
</lang>
=={{header|Ursala}}==
|