1. For-comprehensions with Combined Monads

    The code should be easy to read. One of the programming principles to make the code more readable is to avoid nested operations. The so-called pyramid of doom does not only refers to callback hell in javascript but ofter appear in scala as well. Here, I describe how to make the for-comprehensions more elegant when using combined monads in scala.

    either, for-comprehension, future, http4s, monad transformers, option, scala, scalaz

  2. Streaming of data using http4s and scalaz-stream

    Http4s and scalaz-stream are good alternatives for akka-http and akka-stream. In this post, I show how easy it is to stream data over HTTP using them. Streaming allows to operate on heavy data without the necessity to store it in the memory. With http4s, it is just a few lines of code.

    http4s, idiomatic, non-blocking, scala, scalaz-stream