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

Generate circular data #104

Open
bas080 opened this issue Dec 5, 2021 · 3 comments
Open

Generate circular data #104

bas080 opened this issue Dec 5, 2021 · 3 comments

Comments

@bas080
Copy link

bas080 commented Dec 5, 2021

A bug got passed me because testcheck does not generate circular data using the gen.any. Would it be reasonable to add circular data to the generators?

@leebyron
Copy link
Owner

leebyron commented Dec 5, 2021 via email

@bas080
Copy link
Author

bas080 commented Dec 8, 2021

Why is it interesting? Is it because clojure script prefers immutable data? Does it have the tools to work with Javascript references?

@leebyron
Copy link
Owner

leebyron commented Dec 8, 2021

Yeah exactly, I don't think Clojure will easily generate cycles, so that may need to be an explicit follow up step

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

2 participants