Higher-order functions: Difference between revisions

m
→‎{{header|Trith}}: Fixed whitespace.
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 ;
: twice 2 times ;
: hello "Hello, world!" print ;
[hello] twice</lang>
</lang>
 
=={{header|Ursala}}==