Given Julia's use of multiple dispatch, it is worth considering whether you need to declare the types of arg1 and arg2 in f() at all.
- [julia-users] Declaring a function taking a type not y... Kristoffer Carlsson
- [julia-users] Re: Declaring a function taking a t... Sam L
- [julia-users] Re: Declaring a function taking a t... Keith Campbell
- [julia-users] Re: Declaring a function taking a t... Josh Langsfeld