concept functional design in category functional programming

This is an excerpt from Manning's book Grokking Functional Programming.
>val rawShows: List[String] = List( #A"Breaking Bad (2008-2013)","The Wire (2002-2008)","Mad Men (2007-2015)")sortShows(rawShows)→ compiler error: sortShows takes List[TvShow] #B#A We now have a list of strings, each representing a TV show.
#B sortShows needs List[TvShow] so if we provide a List[String], it will protest loudly.

This is an excerpt from Manning's book Functional Programming in Scala.
Functional design is an iterative process. After you write down your API and have at least a prototype implementation, try using it for progressively more complex or realistic scenarios. Sometimes you’ll find that these scenarios require new combinators. But before jumping right to implementation, it’s a good idea to see if you can refine the combinator you need to its most general form. It may be that what you need is just a specific case of some more general combinator.
Summing integers is in practice probably so fast that parallelization imposes more overhead than it saves. But simple examples like this are exactly the kind that are most helpful to consider when designing a functional library. Complicated examples include all sorts of incidental structure and extraneous detail that can confuse the initial design process. We’re trying to explain the essence of the problem domain, and a good way to do this is to start with trivial examples, factor out common concerns across these examples, and gradually add complexity. In functional design, our goal is to achieve expressiveness not with mountains of special cases, but by building a simple and composable set of core data types and functions.