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 b550ca4 commit 3c4e35fCopy full SHA for 3c4e35f
core/src/main/java/fj/Monoid.java
@@ -1102,6 +1102,14 @@ public Set<A> append(Set<A> a1, Set<A> a2) {
1102
});
1103
}
1104
1105
+ /**
1106
+ * A intersection monoid for sets.
1107
+ *
1108
+ * @param bounded A bound for all possible elements
1109
+ * @param enumerator An enumerator for all possible elements
1110
+ * @param o An order for set elements.
1111
+ * @return A monoid for sets whose elements have the given order.
1112
+ */
1113
public static <A> Monoid<Set<A>> setIntersectionMonoid(final Bounded<A> bounded, final Enumerator<A> enumerator, final Ord<A> o) {
1114
return monoidDef(new Definition<Set<A>>() {
1115
@Override
0 commit comments