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
I'm not completely sure if this is intended, but product from Iterators.product currently has the following behavior:
First up, the nice case:
for i in product(1:3,1:2); println(i); end (1,1) (2,1) (3,1) (1,2) (2,2) (3,2)
However, suppose we switch the second argument to a single element:
for i in product(1:3,1); println(i); end (1,1) (2,1) (3,1) (1,1) (2,1) (3,1)
Are the repeated elements desired here? A singleton in the first argument produces an even more interesting result:
for i in product(1,1:3); println(i); end (1,1) (1,1) (1,2) (1,3)
The text was updated successfully, but these errors were encountered:
ea1855c
No branches or pull requests
I'm not completely sure if this is intended, but product from Iterators.product currently has the following behavior:
First up, the nice case:
However, suppose we switch the second argument to a single element:
Are the repeated elements desired here? A singleton in the first argument produces an even more interesting result:
The text was updated successfully, but these errors were encountered: