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 SemigroupK #441

Merged
merged 5 commits into from
Jun 24, 2023
Merged

Derive SemigroupK #441

merged 5 commits into from
Jun 24, 2023

Conversation

joroKr21
Copy link
Member

@joroKr21 joroKr21 commented Jun 9, 2023

No description provided.

@joroKr21 joroKr21 added the enhancement New feature or request label Jun 9, 2023
@joroKr21 joroKr21 self-assigned this Jun 9, 2023
@joroKr21 joroKr21 force-pushed the feature/semigroupk branch 2 times, most recently from 730443d to 795bf86 Compare June 10, 2023 18:06
@mergify mergify bot added the tests label Jun 18, 2023
When the method return type is a constant, combine both values,
instead of returning just the first. This is akin to instances
for `cats.data.Const` which require `Semigroup` / `Monoid`.

The old behaviour can be recovered by using `Semigroup.first`.
@joroKr21 joroKr21 merged commit 7f3327d into typelevel:master Jun 24, 2023
12 checks passed
@joroKr21 joroKr21 deleted the feature/semigroupk branch June 24, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant