Skip to content
New issue

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

Add an arityUpper field on arbitrary #5191

Open
dubzzz opened this issue Aug 7, 2024 · 1 comment
Open

Add an arityUpper field on arbitrary #5191

dubzzz opened this issue Aug 7, 2024 · 1 comment

Comments

@dubzzz
Copy link
Owner

dubzzz commented Aug 7, 2024

💡 Idea

Today when asking for arrays of constantFrom users have to think about passing a maxLength for an optimal throughput.

By adding an optional field to give more details on the number of values that could possibly output an arbitrary we would make it feasible for arrays to cap themselves without any need from the user.

We discuss of upper as filtering, mapping can possibly reduce the arity in an unknown fashion.

@dubzzz
Copy link
Owner Author

dubzzz commented Aug 7, 2024

⚠️ constant of clone able should probably count for infinity

@dubzzz dubzzz changed the title Add an arityUpper on arbitrary Add an arityUpper field on arbitrary Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant