Is your feature request related to a problem? Please describe.
Often we need to handle unknown amount of arguments in function call. But till now, we don't have any way to handle this behavior.
Describe the solution you'd like
Syntax:
fun some(...args, ***kwargs)
{
# args: [...] Array
# kwargs {...} HashMap
}
Inspired from Python.
Additional context
Syntax is not final yet. Suggestions are welcome.
Update:
New syntax is now: