I appreciate the help, I tried to separate to independent questions. One question was the “type annotation with no name”, the other was “semi colon in the function declaration”. I am seeing how the first works. Can you clue me in on the semi colon?
julia> f(a, b) = a + b
f (generic function with 1 method)
julia> g(a; b) = a + b
g (generic function with 1 method)
julia> f(1, 2)
3
julia> g(1, 2)
ERROR: MethodError: no method matching g(::Int64, ::Int64)
Closest candidates are:
g(::Any; b)
@ Main REPL[2]:1
Stacktrace:
[1] top-level scope
@ REPL[4]:1
julia> g(1; b=2)
3