Scale By The Bay 2018 Unconference: Gabriel Volpe
summary
Live demo shows wiring PureConfig, cats-effect IO and MTL-style typeclasses to avoid transformer stacks by deriving classy optics lenses and meow-mtl instances via a single import. Code uses ApplicativeAsk to zoom into nested AppConfig/HttpServerConfig/ServiceConfig, and derives MonadError for a user-error ADT so routes handle that ADT without manual plumbing. Repository compiles and runs in the demo, claims production use, and warns that programmer discipline is needed since the effect type still fixes error to Throwable.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 1:33Managing configurations
- 5:41Deriving lenses
- 8:55Error handling strategies
- 14:22Conclusion and wrap-up
related talks
46mOptimusPrimeT
26mUP YOUR MTL GAME WITH CLASSY OPTICS
38mA roadtrip with monads: from MTL, through tagless, to BIO
31mThe Eff monad, one monad to rule them all
31mCool toolz in the Scalaz and Cats toolboxes
48mReal-World Functional Scala
45mFree Your Monads and the Rest Will Follow
29mPRACTICAL MONAD TRANSFORMERS
