Skip to content

Add MonadCatch instance for STM#13

Closed
yogeshsajanikar wants to merge 11 commits into
mainfrom
CAD-4738-implement-monad-catch-instance-for-stm-in-io-sim
Closed

Add MonadCatch instance for STM#13
yogeshsajanikar wants to merge 11 commits into
mainfrom
CAD-4738-implement-monad-catch-instance-for-stm-in-io-sim

Conversation

@yogeshsajanikar
Copy link
Copy Markdown
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
Comment thread io-classes/src/Control/Monad/Class/MonadThrow.hs Outdated
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
{-# INLINE (>>) #-}
(>>) = (*>)

#if !(MIN_VERSION_base(4,13,0))
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

This PR should be superceded by #15 and #16

@coot
Copy link
Copy Markdown
Collaborator

coot commented Aug 17, 2022

Can it be closed then?

@yogeshsajanikar
Copy link
Copy Markdown
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