The ScalaDoc for `scala.PartialFunction.compose` incorrectly limits the parameter type parameter for `g` to the same type parameter as itself. Current: `def compose[A](g: (A) ⇒ A): (A) ⇒ B` | Suggested Correction: `def compose[C](g: (C) ⇒ A): (C) ⇒ B` | The parameter descriptions are also misleading. | tparam/param | description | note | ----------------|------------|------| | *A* | the type to which function g can be applied | Instead of **A** a new name should be used | | *g* | a function A => T1 | Should be something similar to _a function C => A_ |