Real World Use Cases for Advanced FP at x.ai [beginner-friendly]
At x.ai we are building Amy and Andrew, AI assistants, who magically schedule meetings for you over email. Their brain is written in Scala, carefully employing functional programming techniques to improve correctness, testability and maintainability. This is the story of our decisions, how they turned out and what we overlooked. I’ll speak about relevant parts of our architecture and how we are using libraries like scalaz, shapeless and Monocle in production. I’ll give a gentle, beginner-targeted introduction to concepts such as Reader, Applicative, Monoid, Semigroup and Lenses and explain how we use them in Amy’s and Andrew’s brain.
Jan Christopher Vogt ( @cvogt ) is a Software Engineer at x.ai. He used to work in Martin Odersky’s Scala lab in Switzerland and is best know for his work on Slick and the extensible records library Compossible.