What is a “context bound” in Scala?
Robert’s answer covers the techinal details of Context Bounds. I’ll give you my interpretation of their meaning. In Scala a View Bound (A <% B) captures the concept of ‘can be seen as’ (whereas an upper bound <: captures the concept of ‘is a’). A context bound (A : C) says ‘has a’ about a … Read more