Easy, intuitive, direct-style syntax for Monad-comprehensions!
summary
Claims a working library that gives direct-style monad comprehensions via an extension method (e.g. dot.value / .flat syntax), implemented for vanilla Scala 2.10/2.11 using blackbox macros. Demonstrated converting blocking code to Task-based nonblocking code without heavy rewrites, with builds published but heavy development ongoing. Currently sound but incomplete: rejects some valid constructs, lacks nested comprehensions, multi-monad traversal and Traverse-based collection traversals; aims to add Applicative/parallelism and broader language support later.
AI-written summary · about
chapters (5)
- 0:00Start
- 0:47Classic Comprehensions use specialized syntax
- 6:27Let the Scala Compiler Work For You
- 6:37Profit From Types
- 14:24Typelevel Summit Philadelphia Qs & As
related talks
44mCAN WE FREE CONCURRENT PROGRAMMING FROM THE MONADIC STYLE
42mMonads you already use without knowing it
27mComputation Expressions in Scala
35mThe Functor, Applicative, Monad talk
41mAsync/Await for the Monadic Programmer
36mAn introduction to monadic structures and functional programming
46mOptimusPrimeT
59mGet value out of your monad
