Faq - What are Scala context bounds? - Scala Documentation


#1

Context bounds were introduced in Scala 2.8.0, and are typically used with the so-called type class pattern, a pattern of code that emulates the functionality provided by Haskell type classes, though in a more verbose manner.


This is a companion discussion topic for the original entry at http://docs.scala-lang.org//tutorials/FAQ/context-bounds.html