How to use map-of, fun, local, lambda?

How to use map-of, fun, local, lambda?