reactive-banana
reactive-banana copied to clipboard
Generalise `compile`, `actuate` and `pause` to `MonadIO`
Perhaps lift pause :: EventNetwork -> IO ()
too?
Good shout @vagarenko - I think we should do all of these or none of them, so I'll add pause
into this.
Alas, I'm not entirely sold on the introduction of MonadIO, as it makes the types more complicated.
I have made a comment in the related pull request https://github.com/HeinrichApfelmus/reactive-banana/pull/225#issuecomment-968275468 . To avoid duplication, I propose that we discuss this issue there.