Understand Transformer Functions
The next transducer building block we need to explore is a transformer. A transformer is a function that takes a value and returns a transformed version of it.
In this lesson, we cover some examples of transformer functions and use them with some basic composition. We'll follow the functional style of creating new values, avoiding mutations. Even though they're trivial functions, it's important to understand how they work, as soon we’ll be combining them with reducers to create transducers.