Skip to content

Using with a base monad other that IO #272

Answered by ocharles
newhoggy asked this question in Q&A
Discussion options

You must be logged in to vote

This isn't possible, but PropertyT is quite a strange monad that might not even possible to capture as an effect with effectful. What I have had success with is defining a Test effect that models Hedgehog's TestT monad, along with evalEff. This lets you combine effectful and MonadTest, 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

Replies: 7 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by arybczak
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@newhoggy
Comment options

@newhoggy
Comment options

@newhoggy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@arybczak
Comment options

Comment options

You must be logged in to vote
1 reply
@newhoggy
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #271 on November 17, 2024 15:14.