Skip to content

out-of-order: def foldLeft[B](z: B)(op: (A,B) => B): B #975

Closed
@chaokunyang

Description

@chaokunyang

In https://docs.scala-lang.org/style/declarations.html
There is a out-of-order in MULTIPLE PARAMETER LISTS For type inference:
def foldLeft[B](z: B)(op: (A,B) => B): B should be changed to def foldLeft[B](z: B)(op: (B,A) => B): B

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