How to collect keyword arguments in a Dict?

Anyway, if you want to do that, the easiest way is to define the Dict first, like in the answer given on SO:

args = Dict(:a => 3, :b => 4)
foo(;args...)
3 Likes