cyclops.arrow.SemigroupK Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cyclops-pure Show documentation
Show all versions of cyclops-pure Show documentation
Platform for Functional Reactive Programming with Java 8
The newest version!
package cyclops.arrow;
import com.oath.cyclops.hkt.Higher;
import cyclops.function.Semigroup;
@FunctionalInterface
public interface SemigroupK {
Higher apply(Higher t1, Higher t2);
default Semigroup> asSemigroup(){
return (a,b)->this.apply(a,b);
}
}