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
Slogan:
The modification of the result of gens(G) shall not modify the parent object.
gens(G)
The text was updated successfully, but these errors were encountered:
Then there should be a function or a version of gens which does not copy :)
gens
Maybe with a keyword argument a la gens(G, copy = false)?
gens(G, copy = false)
Sorry, something went wrong.
Maybe gens could return an immutable version of the generator. E.g.
struct ImmutableVector{T, V} data::V end Base.iterate(...) = ... Base.length(...) = ... Base.push!(...) = error(...) Base.setindex!(...) = error(...)
No branches or pull requests
Slogan:
The text was updated successfully, but these errors were encountered: