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

Automatic derivation of arbitrary instances for ADTs #29

Open
vlstill opened this issue Apr 9, 2020 · 0 comments
Open

Automatic derivation of arbitrary instances for ADTs #29

vlstill opened this issue Apr 9, 2020 · 0 comments
Assignees

Comments

@vlstill
Copy link
Owner

vlstill commented Apr 9, 2020

It is possible to uniformly randomly generate words of context-free grammar of given lenght [1, 2]. In the similar spirit, it should be possible to auto-generate values of ADTs, provided the elements contained in the ADT are independent (i.e., presence of some value at some position does not constrain other values; e.g., a binary tree is OK, a binary search tree is not, because of the ordering constraints).

@vlstill vlstill self-assigned this Apr 9, 2020
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