Skip to content

Commit 24949f1

Browse files
committed
RightAny returns a Monoid
1 parent 7d5ff79 commit 24949f1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
77
### Changed
88
- ***Breaking Change***: `Difference` and `Intersection` no longer instances of `Semigroup` and moved to `functions.builtin.fn2` package
99
- ***Breaking Change***: `Absent` moved to `semigroup.builtin` package
10+
- `RightAny` overload returns `Monoid`
1011

1112
## [3.1.0] - 2018-07-16
1213
### Added

src/main/java/com/jnape/palatable/lambda/monoid/builtin/RightAny.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static <L, R> RightAny<L, R> rightAny() {
4545
return INSTANCE;
4646
}
4747

48-
public static <L, R> Semigroup<Either<L, R>> rightAny(Monoid<R> rMonoid) {
48+
public static <L, R> Monoid<Either<L, R>> rightAny(Monoid<R> rMonoid) {
4949
return RightAny.<L, R>rightAny().apply(rMonoid);
5050
}
5151

0 commit comments

Comments
 (0)