ifte

fun <A, B> ifte(condition: Program<A>, then: (A) -> Program<B>, otherwise: Program<B>): Program<B>(source)

Soft cut: if condition has any answer, run then over every one of its answers; run otherwise only when it has none.