com.github.tonivade.purefun.Conested 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;
public interface Conested extends Kind {
@SuppressWarnings("unchecked")
static Higher1, A> conest(Higher1, B> counnested) {
return (Higher1, A>) Higher1.class.cast(counnested);
}
@SuppressWarnings("unchecked")
static Higher1, B> counnest(Higher1, A> conested) {
return (Higher1, B>) Higher1.class.cast(conested);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy