Skip to content

Symbol signatures diverge from README example #101

Description

@matejcerny

The README's "Example output" for get-external org.typelevel:cats-core_3:2.10.0 cats.Monad no longer matches actual output.

1. Unbounded type parameters gain explicit bounds. [A, B] renders as [A >: Nothing <: Any, B >: Nothing <: Any]

2. Curried parameter lists are joined with :. Multiple parameter lists render as (fa: F[A]): (f: ...) instead of adjacent (fa: F[A])(f: ...), making methods look like they return a function.

flatMap — README vs. actual:

// README claims:
def flatMap[A, B](fa: F[A])(f: Function1[A, F[B]]): F[B]

// actual:
def flatMap[A >: Nothing <: Any, B >: Nothing <: Any](fa: F[A]): (f: Function1[A, F[B]]): F[B]

Same pattern on pure, flatten, iterateWhile, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions