Scaladoc [use case]
Why do some method descriptions in Scaladoc start with [use case] ? Example: scala.collection.immutable.StringOps.++ Is it just a placeholder to be replaced in the future? They are simplified examples of how these methods are called. Usually these methods ( ++ , map , flatMap , etc.) contain an implicit parameter, most often an argument called a builder factory which (simply put) abstracts creation of resulting collections. In most cases, a client of a collection does not specify these implicit parameters, so ScalaDoc allows defining a simplified description of the method - a use case . This