Introduction to Our Functional Core
A walkthrough of what our functional core is and how we'll go about making it.
We'll cover the following...
The functional core
In this chapter, we’ll dive into the functional core, sometimes called the business logic of our component. Functional-core is the F for fun in "Do fun things with big loud worker-bees.” In the previous chapter, we worked with data. We carved our project into hollow modules holding structs that form our data skeleton. This chapter will fill those empty modules up with functions, each logically addressing a part of the whole functional core. The following figure shows where this core fits:
Defining our core
A functional core is a group of functions and the type definitions representing the data layer, organized into modules. Our core doesn’t access external interfaces or use any process machinery our ...