|
I'm interested in using Is this possible? |
Replies: 7 comments 5 replies
|
This isn't possible, but |
|
Yes, please. |
|
Btw, doesn't |
|
BTW, I've managed to do this with |
|
I was able to get Thanks for the suggestion @ocharles ! |
|
I'm trying to implement The case that needs to be implemented is here: I'm running into difficulty because https://hackage.haskell.org/package/hedgehog-1.5/docs/src/Hedgehog.Internal.Property.html#evalM What should I do here? I'm okay if it calls |
|
I figured out a way to support hedgehog property tests with effectful: |
This isn't possible, but
PropertyTis quite a strange monad that might not even possible to capture as an effect witheffectful. What I have had success with is defining aTesteffect that models Hedgehog'sTestTmonad, along withevalEff. This lets you combine effectful andMonadTest, which has felt like the goth balance. If this is interesting let me know, as I've been meaning to tidy this up and open source it