<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def map_over_glob(fn, path, pattern):
 """map a function over a glob pattern, relative to a directory"""

    return [fn(x) for x in glob.glob(os.path.join(path, pattern))]