0

Possible Duplicate:
Scaladoc [use case]

Some methods on ScalaDoc API have their descriptions preceded with [use case]. However, I can't find them on the source code, and they don't make sense sometimes. For example,

def +: ( elem : A ) : List

is a variance violation, since lists are co-variant.

So, what does use case mean, why are their type signatures suspect sometimes, and why don't they appear in the source code?

As a bonus point, are they described somewhere on the Scala language site?

Community
  • 1
  • 1
Daniel C. Sobral
  • 295,120
  • 86
  • 501
  • 681
  • Duplicate of http://stackoverflow.com/questions/4106817/scaladoc-use-case – xappymah Mar 28 '11 at 18:42
  • 1
    @xappymah Indeed. Though it's better to close as duplicate, than delete, imho. – Daniel C. Sobral Mar 28 '11 at 19:12
  • 1
    +1 for a useful question (this question is easier to find than its duplicate), edited for typos, _and_ voted to close. This has got to be the weirdest set of modifications I've ever made to a question. – Rex Kerr Mar 28 '11 at 19:19

0 Answers0