<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(self, fn: Callable[[Any], Any]) -> 'Cont': r"""Map a function over a continuation. Haskell: fmap f m = Cont $ \c -> runCont m (c . f) """

        return Cont(lambda c: self.run(compose(c, fn)))