Small retrospection
In my previous blog post we talked about shapeless and how it could be applied to enhance how you work with Futures
. Even though we were focused on Future
s, our goal wasn’t to provide the best and ultimate util to deal with them, but to demonstrate how shapeless can help us build functions that are more flexible than almost everything we are used to work with.
So in last post we have created a kind of varargs function that is able to adjust its return type to the arguments passed in. Today we’ll take it much farther by adding scalaz, ApplicativeBuilder
and Monad
s into the soup. Read more