advancedtelematic / quickcheck-state-machine

Test monadic programs using state machine based models
Other
203 stars 25 forks source link

Replace MonadBaseControl IO with MonadUnliftIO #252

Closed mrBliss closed 5 years ago

mrBliss commented 5 years ago
mrBliss commented 5 years ago

@stevana Thanks for the quick merge!

However, I was expecting some resistance, to be honest :slightly_smiling_face:, as this change might break things for existing users. More concretely, users that use a custom monad m for their StateMachine previously had to provide an instance of MonadBaseControl IO m, but after this change they will have to provide an instance of MonadUnliftIO m instead. What is your opinion on this?

stevana commented 5 years ago

I think this library still doesn't have that many users (especially affected by this change), and so I'd rather break and improve things than be stuck with bad decisions. (If anyone who's reading this is affected, please let us know).

We should add this to the change log and make a major version bump next release though.