Function prototype: Difference between revisions
m
→{{header|Julia}}
(→ES6) |
|||
Line 618:
=={{header|Julia}}==
Julia does not need or use function prototypes in general. Generic functions are further specialized as to argument type and return type during just-in-time compilation if required. However, when interacting with other languages such a C which use function prototypes, Julia can
<lang julia>julia > function mycompare(a, b)::Cint
|