make your programs free
TRANSCRIPT
Let’s see it in action!(aka Demo)
https://github.com/rabbitonweb/make-your-programs-free
Usage of Scalaz’s Task
class Task[+A](val get: Future[Throwable \/ A]) { .. }
def foo(input: Int): Future[String]
Usage of Scalaz’s Task
class Task[+A](val get: Future[Throwable \/ A]) { .. }
def foo(input: Int): Future[String]def bar(intput: Int): Task[String]
Usage of Scalaz’s Task
class Task[+A](val get: Future[Throwable \/ A]) { .. }
def foo(input: Int): Future[String]def bar(intput: Int): Task[String]val f: Future[String] = foo(10)val b: Task[String] = bar(20)
val s1: String = b.unsafePerformSync
Let’s see it in action!(aka Demo)
https://github.com/rabbitonweb/make-your-programs-free
But I want to see a real world example!
https://github.com/quasar-analytics/quasar
Thank you for watching!
Pawel Szulc
@rabbitonweb
Thank you for watching!
Pawel Szulc
@rabbitonweb
http://rabbitonweb.com
Thank you for watching!
Pawel Szulc
@rabbitonweb
http://rabbitonweb.com
https://github.com/rabbitonweb/make-your-programs-free