We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 606f1e7 commit b710672Copy full SHA for b710672
1 file changed
core/src/main/java/fj/Semigroup.java
@@ -629,4 +629,8 @@ public static <A> Semigroup<Set<A>> setSemigroup() {
629
return semigroupDef(Set::union);
630
}
631
632
+ public static <A> Semigroup<Set<A>> setIntersectionSemigroup() {
633
+ return semigroupDef(Set::intersect);
634
+ }
635
+
636
0 commit comments