Call a function: Difference between revisions

no edit summary
m (added whitespace before the TOC (table of contents), added whitespace.)
No edit summary
Line 104:
 
See [http://rosettacode.org/wiki/Partial_function_application#ALGOL_68 Partial Function Application] for an example of partial function application in ALGOL 68.
 
=={{header|AntLang}}==
AntLang provides two ways to apply a function.
One way is infix application.
<lang AntLang>2 * 2 + 9 /whitespace important!</lang>
Infix application is right associative, so x f y g z means x f (y g z) and not (x f y) g z.
You can break this rule using parenthesis.
The other way is prefix application.
<lang AntLang>*[2; +[2; 9]]
echo["Hello!"]
time[]</lang>
 
=={{header|AutoHotkey}}==
Anonymous user