Skip to content

Conversation

@isomorpheme
Copy link
Contributor

No description provided.


build-depends: base >= 4.14 && < 5
, async >= 2.2.2
, async >= 2.2.5
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to do this since cancelMany is only in async from this version. If that's undesirable I can look into making its definition conditional on the version, using CPP.

Copy link
Member

Choose a reason for hiding this comment

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

No need for CPP, it's fine.

Copy link
Member

@arybczak arybczak left a comment

Choose a reason for hiding this comment

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

Thanks 👍 Please add a changelog entry "Add cancelMany to Effectful.Concurrent.Async".


build-depends: base >= 4.14 && < 5
, async >= 2.2.2
, async >= 2.2.5
Copy link
Member

Choose a reason for hiding this comment

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

No need for CPP, it's fine.

cancel = unsafeEff_ . A.cancel

-- | Lifted 'A.cancelMany'.
cancelMany :: Concurrent :> es => [Async a] -> Eff es ()
Copy link
Member

Choose a reason for hiding this comment

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

It's not exported, isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed I forgot to export it! (Thankfully CI caught that too.)

@arybczak arybczak merged commit 102d834 into haskell-effectful:master Jul 18, 2025
8 checks passed
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.

2 participants