Exemple #1
0
def any_pass(ps, v):
    return reduce(either, always(False), ps)(v)
Exemple #2
0
def all_pass(ps, v):
    return reduce(both, always(True), ps)(v)