Architecting composable systems with Scala higher-order functions, algebraic data types, and advanced functional patterns (English Edition)