Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. In many programming languages, map is the name of a higher-order function that applies a given function element-wise to a list of elements and returns a list of results. They are examples of both catamorphisms and anamorphisms. This is often called apply-to-all when considered a functional form.