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

Integer partition generator #301

Open
ferranpujolcamins opened this issue Oct 8, 2020 · 0 comments
Open

Integer partition generator #301

ferranpujolcamins opened this issue Oct 8, 2020 · 0 comments

Comments

@ferranpujolcamins
Copy link

I've written an integer partition generator. For example, I have used it to write a generator for a tree:

class Tree<A> {
    let root: A
    let subForest: [Tree<A>]
}

Let me know if you consider that this belongs to SwiftCheck, I'll then open a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant