Let’s look at this function
function foo(a::Int, b::Int, c::Int)::Int return a + b +c end
Is there a way to say all of a, b and c are Ints instead of repeating? Or is the “right” way to put the arguments in an array and pass the function that instead?
Edit: Ops, completely wrong section at first sorry.