twitter/scala_school — pull request #41 by lahosken (2012-08-17 21:09:21+00:00)
Title: Clarify. New examples for partition, dropWhile. 140-char summaries for types

Exercise caution with this change request: I attempt to clarify some stuff. I think it needs clarification since I didn't understand the current material. But that also means I'm not-so-confident about my "improvements".

Especially dangerous: I attempted to write short summaries for the four things we list about Scala's type system. I bet you a nickel at least one of these is wrong, because I'm still pretty confused about these.

* *parametric polymorphism* roughly, generic programming

* *(local) type inference* roughly, why you needn't say val i: Int = 12: Int

* *existential quantification* roughly, defining something _for some_ unnamed type

* *views* we'll learn these next week; roughly, "castability" of values of one type to another

Also tweaked, but w/more confidence:
I guessed wrong at how partition and dropWhile used the order of their lists. So tweaked examples to clarify.