Skip to content

Tuple as parameter in long function signatures #14

@nojaf

Description

@nojaf

Reading upon https://github.com/G-Research/fsharp-formatting-conventions#long-function-signatures,
what happens if the parameter is a long tuple?

Example:

module M =
    let LongFunctionWithLotsOfParametersAndReturnType
        (
            aVeryLongParam: AVeryLongTypeThatYouNeedToUse,
            aSecondVeryLongParam: AVeryLongTypeThatYouNeedToUse,
            aThirdVeryLongParam: AVeryLongTypeThatYouNeedToUse
        ) : ReturnType =
        // ... the body of the method follows
        ()

How would this look like?

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