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

instance Example (Gen a -> PropertyT IO ()) #21

Open
parsonsmatt opened this issue Dec 6, 2022 · 0 comments
Open

instance Example (Gen a -> PropertyT IO ()) #21

parsonsmatt opened this issue Dec 6, 2022 · 0 comments

Comments

@parsonsmatt
Copy link
Collaborator

It'd be nice to use hspec hooks and have something like:

before (pure (myGen :: Gen Int)) $ do
  it "works" $ hedgehog $ \(i :: Int) -> do
    -- the i is randomly generated?
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