com.github.mperry.fg.StreamStaticExtension2.groovy Maven / Gradle / Ivy
package com.github.mperry.fg
import fj.F
import fj.P2
import fj.data.Option
import fj.data.Stream
import groovy.transform.TypeChecked
import groovy.transform.TypeCheckingMode
/**
* Created by MarkPerry on 20/01/14.
*/
@TypeChecked
class StreamStaticExtension2 {
@TypeChecked(TypeCheckingMode.SKIP)
static Stream unfold(Stream s, B b, F>> f) {
Stream.unfold(f, b)
}
@TypeChecked(TypeCheckingMode.SKIP)
static Stream unfold(Stream s, B b, Closure
© 2015 - 2025 Weber Informatics LLC | Privacy Policy