u/volpegabrielin r/scala • Recommends
STM (Software Transactional Memory) examples in Haskell and Scala
The APIs are very similar so it's easy to look side by side and see how it compares in both languages: https://github.com/gvolpe/stm-demo
If you don't know what STM is, John De Goes and Wiem have recently presented ZIO STM at Scalar Conf [video