concept requirement in category functional programming
appears as: requirements, Requirements, Requirement, requirement

This is an excerpt from Manning's book Grokking Functional Programming.
Before we dive into the implementation and real code, let’s briefly go through the diagram above. There are two fields: items and bookAdded, which are used as internal state. Then, each requirement is implemented in one method. The three methods are being used as public interface for the rest of the world.
• each TV show has a name, the year it started airing, and the year it concluded,