为什么命名的splats不在Julia工作?
如何使下面的代码工作为什么命名的splats不在Julia工作?,julia,Julia,如何使下面的代码工作 function configure(; options...) println(options) end configure(a = 1, b = 2, c = 3) options = (c = 2, b = 3) configure(options...) options = (c = 2, b = 3) configure(a = 1, options...) 因为分号在这里很重要 configure(;options...) configure(;a =
function configure(; options...) println(options) end
configure(a = 1, b = 2, c = 3)
options = (c = 2, b = 3)
configure(options...)
options = (c = 2, b = 3)
configure(a = 1, options...)
因为分号在这里很重要
configure(;options...)
configure(;a = 1, options...)