Skip to content

Pretty instances for 4-tuples etc. #243

@vmchale

Description

@vmchale

I ran into this recently:

run/Main.hs:347:53: error: [GHC-39999]
    • No instance for ‘Prettyprinter.Internal.Pretty
                         (Apple Double, Apple Double, Apple Double, Double)’
        arising from a use of ‘pretty’
    • In the second argument of ‘($)’, namely ‘pretty (a0, a1, a2, f)’
      In the second argument of ‘($)’, namely
        ‘(<> hardline) $ pretty (a0, a1, a2, f)’
      In a stmt of a 'do' block:
        putDoc $ (<> hardline) $ pretty (a0, a1, a2, f)
    |
347 |                                 putDoc$(<>hardline)$pretty (a0, a1, a2, f)
    |                                                     ^^^^^^

Having more Pretty instances for tuples would be useful to me.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions