Like so: *function func(ff::Function) * * ff(4) * *end * Note that functions have not a more specialised type as they do in some other languages, like for example (Int, Float64) -> (Float,), they are just a `Function`.
> By the way what is the advantage of setting the type ? Is it only for "safe > programming" (I mean my code will generate an error if I specify the type > and pass something having another type, and this is cool), or is there also > a gain of performance ? Usually it's for safety and for documentation. The JIT will generate a particular function for the types of arguments you pass in, so type annotation should not make that any better.
