We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would it be desirable to amend the signatures for these List operations?
e.g.
func (l *List[T]) Append(value ...T) *List[T] {
2 benefits:
Being varargs, it wouldn't break existing callers.
Note that we could implement something similar for maps - maybe a SetAll(map[k]v) but that could be separate.
SetAll(map[k]v)
I'm happy to submit a PR for this
The text was updated successfully, but these errors were encountered:
Duh, I missed this: #18.
I could implement it under that one
Sorry, something went wrong.
No branches or pull requests
Would it be desirable to amend the signatures for these List operations?
e.g.
2 benefits:
Being varargs, it wouldn't break existing callers.
Note that we could implement something similar for maps - maybe a
SetAll(map[k]v)
but that could be separate.I'm happy to submit a PR for this
The text was updated successfully, but these errors were encountered: