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

Derive MonadFix for labelled effects #402

Merged
merged 1 commit into from
Dec 10, 2020

Conversation

JaSpa
Copy link
Contributor

@JaSpa JaSpa commented Dec 3, 2020

All other carriers already define a conditional MonadFix instance.

These instances should probably get a @since XX annotation and maybe an entry in the changelog. What is your process in that regard? I can add those if you can tell me what the next version number will be or alternatively add some kind of placeholder to fill in when the next release is done.

@robrix
Copy link
Contributor

robrix commented Dec 7, 2020

For the CI failures, merging master should suffice.

There aren’t any other changes pending on master, so we’ll release this as 1.1.1. @since 1.1.1 annotations and a changelog entry would be much appreciated, thank you!

src/Control/Effect/Labelled.hs Outdated Show resolved Hide resolved
src/Control/Effect/Labelled.hs Outdated Show resolved Hide resolved
@JaSpa
Copy link
Contributor Author

JaSpa commented Dec 9, 2020

@robrix I added the @since annotations and a changelog entry.

@JaSpa JaSpa requested a review from robrix December 9, 2020 16:45
Comment on lines +50 to +60
deriving
( Alternative
, Applicative
, Functor
, Monad
, Fail.MonadFail
, MonadFix -- ^ @since 1.1.1
, MonadIO
, MonadPlus
, MonadTrans
)
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 think breaking this into multiple lines is cleaner than an inline comment …, MonadFix {- ^ @since 1.1.1 -}, …

Copy link
Contributor

@robrix robrix left a comment

Choose a reason for hiding this comment

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

❤️ perfect, thank you so much!

@robrix robrix merged commit e8fb4eb into fused-effects:master Dec 10, 2020
@robrix
Copy link
Contributor

robrix commented Dec 10, 2020

1.1.1 has been released!

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.

None yet

2 participants