Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pretty instances for 4-tuples etc. #243

Open
vmchale opened this issue May 18, 2023 · 0 comments
Open

Pretty instances for 4-tuples etc. #243

vmchale opened this issue May 18, 2023 · 0 comments

Comments

@vmchale
Copy link
Contributor

vmchale commented May 18, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant