News for hackers. Stuff that matters.
Re:Scrap Your Cake Pattern Boilerplate: Dependency Injection... by jarhart on Monday October 28, 2013 @04:56PM (#6629724)
I look forward to that blog post. In order to use Scalaz's monad transformers with scala.concurrent.Future, would I have to write my own monad instance for it, or is there a way to re-use the one from scalaz.concurrent?
Re:Scrap Your Cake Pattern Boilerplate: Dependency Injection... by noelwelsh on Monday October 28, 2013 @05:00PM (#6629754)
The scalaz-contrib library has a Monad instance for scala.concurrent.Future: https://github.com/typelevel/scalaz-contrib/blob/master/scal...
Re:Scrap Your Cake Pattern Boilerplate: Dependency Injection... by lmm on Monday October 28, 2013 @05:08PM (#6629798)
A scalaz monad instance for scala.concurrent.Future can be written in about two lines.