com.github.tonivade.purefun.Higher1 Maven / Gradle / Ivy
/*
* Copyright (c) 2018-2020, Antonio Gabriel Muñoz Conejo
* Distributed under the terms of the MIT License
*/
package com.github.tonivade.purefun;
import java.util.function.Function;
public interface Higher1 extends Kind {
default R fix1(Function super Higher1, ? extends R> function) {
return function.apply(this);
}
default Higher1 kind1() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy