Skip to content

Provide guidance on what to do with long lines #9

@khanage

Description

@khanage

Just had a discussion with a coworker about what to do with imports once they exceed 80 characters.

Would something like

import Some.Long.Module (Thing, That, Blah, asdasd, asdasdasdasd, adasdasdasdas, vjviodfjvdfovj)

Make sense to go to

import Some.Long.Module ( Thing, That, Blah, asdasd, asdasdasdasd
                                              , adasdasdasdas, vjviodfjvdfovj )

or

import Some.Long.Module 
            ( Thing, That, Blah, asdasd, asdasdasdasd
            , adasdasdasdas, vjviodfjvdfovj )

or should it be consistent with the approach for other collections?

import Some.Long.Module 
    ( Thing
    , That
    , Blah
    , asdasd
    , asdasdasdasd
    , adasdasdasdas
    , vjviodfjvdfovj 
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions