~/talk

Computation Expressions in Scala

Talkat LambdaConf 2015 · 2015-05-22..05-24· [scala, functional-programming]
slides:none on file

Claims a concrete implementation of Computation Expressions for Scala that delivers fail-fast futures missing from vanilla for-comprehensions by translating code into applicative apply/zip when possible and falling back to monadic bind only when needed. Demonstrates working code, uses Scalaz and shapeless, compares to async/await and Twitter futures, and reports a thorough test suite. Notes practical limits: complex pattern-match desugaring and JVM thread cancellation remain tricky, and some edge cases in macros are not yet solved.

AI-written summary · about

  1. 0:00Intro
  2. 0:24History
  3. 5:42How did we solve it?
  4. 6:54Features
  5. 8:07Failing fast
  6. 9:15Interacting with if
  7. 11:13Using another abstraction
  8. 12:43Based on Scalaz
  9. 13:54Simple code transformation
  10. 15:00Importance of using the
  11. 15:45Monad is required
  12. 16:17if statement
  13. 17:08match statement can get hairy
  14. 18:39Similar Projects
  15. 21:16Limitations
  16. 24:00Write Async code
  17. 26:33Future work
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.