def _apply_modifications(degrees, modifications):
    """Apply scale degree modifications to a scale degree dictionary."""
    for mod_fn, degree, alter in modifications:
        mod_fn(degrees, degree, alter)
