Call a function: Difference between revisions

Content added Content deleted
No edit summary
(→‎{{header|Erlang}}: Changed pre tag to lang + erlang sytax)
Line 173:
 
=={{header|Erlang}}==
<lang erlang>
<pre>
no_argument()
one_argument( Arg )
Line 184:
% No way to distinguish builtin/user functions
% Subroutines?
% Arguments are passed by reference, but you can not change them.
% Partial application is possible (a function returns a function that has one argument bound)
</prelang>
 
=={{header|Icon}} and {{header|Unicon}}==
Icon and Unicon have generalized procedures and syntax that are used to implement functions, subroutines and generators.