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

clash-prelude-hedgehog's data types should have a Show instance. #2133

Closed
lmbollen opened this issue Mar 23, 2022 · 1 comment · Fixed by #2135
Closed

clash-prelude-hedgehog's data types should have a Show instance. #2133

lmbollen opened this issue Mar 23, 2022 · 1 comment · Fixed by #2135
Assignees

Comments

@lmbollen
Copy link
Contributor

lmbollen commented Mar 23, 2022

SomeVec is a datatype which is used in generators, however Hedgehog's forAll function
https://hackage.haskell.org/package/hedgehog-1.1.1/docs/Hedgehog-Internal-Property.html#v:forAll

forAll :: (Monad m, Show a, HasCallStack) => Gen a -> PropertyT m a requires a Show instance for a.

Hence, all datatypes in clash-prelude-hedgehog that are used in generators should have a Show instance.

@martijnbastiaan
Copy link
Member

We've released v1.6.3, which includes a fix for this issue.

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

Successfully merging a pull request may close this issue.

3 participants