def apply_modifiers(modifiers, clause, examples):
    """
    Applies the clause modifiers to the clause.

    :param modifiers: the clause modifiers
    :type modifiers: collections.Iterable[ClauseModifier]
    :param clause: the clause
    :type clause: HornClause
    :param examples: the examples
    :type examples: Examples
    :return: the modified clause
    :rtype: HornClause
    """
    for clause_modifier in modifiers:
        clause = clause_modifier.modify_clause(clause, examples)
    return clause