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

    Determines whether all elements of the structure satisfy the predicate.
    """
    return DL.all_(toList(t))
Ejemplo n.º 2
0
def all_(f, t):
    """
    all :: Foldable t => (a -> bool) -> t a -> bool

    Determines whether all elements of the structure satisfy the predicate.
    """
    return DL.all_(toList(t))