12 - Mapping Filtering Reducing

Опубликовано: 26 Март 2026
на канале: Dr. Andy Wicks
640
19

These three functions are VERY useful. They allow you to do things to a whole list in one go.

Mapping does something (whatever you set it up to do) to every item in a list. It creates a new list altered in that way.

Filtering creates a new list which only includes thos items which meet the criteria that you specify.

Reducing takes a list and performs a function (such as add) on each item to create a single answer.

The code used in this video can be found via https://lyw4.life/Resources/scheme.php.