Yeah, Promise really helps illustrating these concepts. Also while being less explicit in the syntax, the combination of Promise and Promise.then forms a functor that
- maps type x to type Promise<x>
- maps function x -> y to function Promise<x> -> Promise<y>