<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def abbreviate_dashed(s):
 """Abbreviates each part of string that is delimited by a '-'."""

    r = []
    for part in s.split('-'):
        r.append(abbreviate(part))
    return '-'.join(r)