@ysusuk - please take a look at one test I've changed (original code fails with this change test). I hope it explains why we cannot use IO.succeed to wrap calls to mutable state.
If you agree with these changes, tell me then I'll update other tests as well.
@ysusuk I decided to update only limit tests because otherwise I would obscure tests of others methods with testing possible flaw in position or limit implementation.
Ready for review.
@ysusuk - please take a look at one test I've changed (original code fails with this change test). I hope it explains why we cannot use
IO.succeed
to wrap calls to mutable state. If you agree with these changes, tell me then I'll update other tests as well.