concept combinator in category functional programming

This is an excerpt from Manning's book Functional Programming with Kotlin.
Even though we have only been working with state in random number generation, we can easily apply this technique to any other domain where passing state is required. On closer inspection we see that the combinators we have written aren’t specific to any domain either, and can easily be utilized for passing any kind of state. In this section we intend to develop a data type that allows us to generalize over state transition of arbitrary kind.
Listing 6.26. State declarations and combinators required to perform state propagation

This is an excerpt from Manning's book Functional Programming in Scala.
Looking back at our implementations, we’ll notice a common pattern: each of our functions has a type of the form RNG => (A, RNG) for some type A. Functions of this type are called state actions or state transitions because they transform RNG states from one to the next. These state actions can be combined using combinators, which are higher-order functions that we’ll define in this section. Since it’s pretty tedious and repetitive to pass the state along ourselves, we want our combinators to pass the state from one action to the next automatically.
In a parser combinator library, like the one we’ll build in this chapter, a parser doesn’t have to be anything quite that complicated, and it doesn’t have to parse entire documents. It can do something as elementary as recognizing a single character in the input. We then use combinators to assemble composite parsers from elementary ones, and still more complex parsers from those.