Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io-sim-classes: Eq instances for stm's mutable varibles
* TVar * TMVar * TQueue * TBQueue Expose 'eqTVar' which only requires `MonadSTM m` constraint and 'EqTVar' type alias which allows to use `==` directly. The complications comes from rough edges of QuantifiedConstraints and TypeFamily extensions (https://gitlab.haskell.org/ghc/ghc/-/issues/14860) Includes changes in `io-sim-classes` and `io-sim`.
- Loading branch information
Showing
4 changed files
with
305 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.