Ejemplo n.º 1
0
def any_(f, t):
    """
    any :: Foldable t => (a -> bool) -> t a -> bool

    Determines whether any element of the structure satisfies the predicate.
    """
    return DL.any_(toList(t))
Ejemplo n.º 2
0
def any_(f, t):
    """
    any :: Foldable t => (a -> bool) -> t a -> bool

    Determines whether any element of the structure satisfies the predicate.
    """
    return DL.any_(toList(t))