Function prototype: Difference between revisions

Content added Content deleted
m (→‎{{header|Raku}}: Fix links and comments: Perl 6 --> Raku)
m (→‎{{header|zkl}}: deleted duplicated word)
Line 1,283: Line 1,283:


=={{header|zkl}}==
=={{header|zkl}}==
In zkl, all functions are var args. Prototypes provide provide some documentation and an overlay on the incoming args. Named parameters are not supported.
In zkl, all functions are var args. Prototypes provide some documentation and an overlay on the incoming args. Named parameters are not supported.
<lang zkl>fcn{"Hello World"} // no expected args
<lang zkl>fcn{"Hello World"} // no expected args
fcn(){"Hello World"} // ditto
fcn(){"Hello World"} // ditto