Skip to content

Instantly share code, notes, and snippets.

View xav's full-sized avatar
🍄

Xavier Basty xav

🍄
  • Toulouse, France
  • 20:38 (UTC +02:00)
View GitHub Profile
== Rules ==
On Infrastructure
-----------------
There is one system, not a collection of systems.
The desired state of the system should be a known quantity.
The "known quantity" must be machine parseable.
The actual state of the system must self-correct to the desired state.
The only authoritative source for the actual state of the system is the system.
The entire system must be deployable using source media and text files.
class A
class A2 extends A
class B
trait M[X]
//
// Upper Type Bound
//
def upperTypeBound[AA <: A](x: AA): A = x