-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
breakingThis change will break codeThis change will break codekeyword argumentsf(x; keyword=arguments)f(x; keyword=arguments)
Milestone
Description
foo(; args...)Inside of a function with this signature, args will be an array of tuples containing symbols and values. Cool, but the array will be unordered, so I pretty much have to loop over it trying to match symbols.
I think it would be really cool if args came in as a dictionary. I'm guessing there would be some overhead involved in that, and that's perhaps why it has not been done. But I wonder if the overhead involved in looping over symbols and doing a bunch of string comparisons (I think that's what's happening, could be wrong) might even outweigh the dict creation.
I didn't see an issue, but has this been considered?
Metadata
Metadata
Assignees
Labels
breakingThis change will break codeThis change will break codekeyword argumentsf(x; keyword=arguments)f(x; keyword=arguments)