context-bound

What is a "context bound" in Scala?

One of the new features of Scala 2.8 are context bounds. What is a context bound and where is it useful? Of course I searched first (and found for example this) but I couldn't find any really clear and detailed information. ...

":" in type parameter

In scala-arm project, I see code like this: def managed[A : Resource : Manifest](opener : => A) : ManagedResource[A] = new DefaultManagedResource(opener) Can someone explain the meaning of [A : Resource : Manifest] ? ...