twitter/scala_school — pull request #55 by lahosken (2012-09-19 21:45:33+00:00)
Title: corrections, diagrams, and clarifications for Finagle

Add instructions for a console that can import finagle things. I needed it,
maybe other folks will also. Show how to create+resolve Futures+Promises in
the REPL.

Change flatMap example to clarify which params are Future-thingies vs thingies.
Instead of throwing a "map" into a flatMap example, bring it out into its
own example. My puny brain took a while to figure out the combined example.

Show examples for using the concurrent combinators. I really wanted an example
for select; its API wasn't what I expected (though it makes sense in hindsight).
But it looked funny that just one of these had an example so I added examples
for the others too.

The simple HTTP client and server examples in the Service section had drifted
far enough away from the current API such that I had a tough time figuring out
the API. So updated them, also filling in some of the setup which the examples
assumed.

Throw in motivating examples for some of constructs.

Steal some diagrams from JDOwens

Many misc clarifications