Skip to content

v1.1.0

Choose a tag to compare

@brandon-leapyear brandon-leapyear released this 24 Sep 19:00
3e45b2d
  • Rewrite with runTestQ, allowing for both recoverable Q actions and mocked Q actions in IO.

    The previous tryQ' function can be reimplemented as:

    tryQ' :: Q a -> Q (Either String a)
    tryQ' = tryTestQ unmockedState

    with the other helpers defined as before, using tryQ'.