Higher-order functions: Difference between revisions
Content deleted Content added
m Added a Trith example. |
m →{{header|Trith}}: Fixed whitespace. |
||
Line 1,183:
=={{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}}==
|