RSSAmplifier

Andraž Bajt's blog · Mar 7, 2014

Practical Future[Option[A]] in Scala

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Motivation In real world concurrent code you often come across the Future[Option[A]] type(where A is usually some concrete type). And then you need to compose these things. This is not straightforward in Scala. If you’ve done some Haskell just import scalaz._ and you can skip the rest of this article. Scalaz library defines a monad typeclass(and many others) that formally specifies what it…

Read on /posts/2014-03-07-practical-future-option/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.