-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
[#121] Reexport Ap and change foldMapA #139
[#121] Reexport Ap and change foldMapA #139
Conversation
Looks like we still need some explicit Semigroup constraints for the older GHC versions... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully we can get it to build on the older versions without too much fiddling 🤔
Otherwise, good change overall
src/Relude/Monoid.hs
Outdated
minBound = pure minBound | ||
maxBound = pure maxBound | ||
|
||
-- | @since 4.12.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use relude
versions here? Does it make sense to write about base
versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! I will update the docs 👍
Resolves #121
I didn't touch
foldMapM
for now. Probably it should be implemented usingfoldMap'
from newer base.