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
here is a possible implentation
pub fn Iter::flatten[T](self : Iter[Iter[T]]) -> Iter[T] { self.flat_map(fn(x) {x}) }
The text was updated successfully, but these errors were encountered:
similar issue, user might write many boilplate code.
How to organize the "duplicate" code?
To eliminate duplicate code, this is why we need generic programming
If abstraction doesn't sacrifice performance, I think it needs to be abstracted
related issues:
Sorry, something went wrong.
No branches or pull requests
here is a possible implentation
The text was updated successfully, but these errors were encountered: