Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MonadCatch instance for STM #13

Conversation

yogeshsajanikar
Copy link
Contributor

WIP

  • Add MonadCatch Instance
  • Add CatchStm and CatchStmFrame
  • Add handler for CatchStmFrame

Yogesh Sajanikar added 2 commits July 11, 2022 13:29
WIP
- Add MonadCatch Instance
- Add CatchStm and CatchStmFrame
- Add handler for CatchStmFrame
Handle return, throw and retry cases for Test.STM
Yogesh Sajanikar added 3 commits July 14, 2022 13:27
- Add Catch handler frame `CatchHandlerStmFrame` for handling catch handler
- Add unwind support for handling matching exceptions
@@ -269,9 +272,9 @@ instance Monad (STM s) where
{-# INLINE (>>) #-}
(>>) = (*>)

#if !(MIN_VERSION_base(4,13,0))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reinstantiate these changes.

@yogeshsajanikar
Copy link
Contributor Author

This PR should be superceded by #15 and #16

@coot
Copy link
Collaborator

coot commented Aug 17, 2022

Can it be closed then?

@yogeshsajanikar
Copy link
Contributor Author

Aborting this PR in favor of #15 and #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants