Tags: input-output-hk/quickcheck-dynamic
Tags
4.0.0 - 2025-03-12 * **BREAKING**: Removed `Realized` - To migrate uses of `Realized` with `IOSim`, index the state type on the choice of `RunModel` monad and index the relevant types: ``` -- Turn: data ModelState = State { threadId :: Var ThreadId } -- Into: data ModelState m = State { threadId :: Var (ThreadId m) } ``` * **BREAKING**: Moved `Error state` from `StateModel` to `RunModel` and indexed it on both the `state` and the monad `m` * **BREAKING**: Changed `PerformResult` from `PerformResult (Error state) a` to `PerformResult state m a` * Added a `moreActions` property modifier to allow controlling the length of action sequences.
* Added some lightweight negative-shrinking based on a simple depende… …ncy analysis. * Added the option to return errors from actions by defining `type Error state`. When this is defined `perform` has return type `m (Either (Error state) (Realized m a))`, when it is left as the default the type remains `m (Realized m a)`. * Changed `withGenQ` to _require_ a predicate when defining a `Quantification`. **Note**: This is technically a breaking change as the interface changed
PreviousNext