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

Unbuildable for "Ambiguous occurrence ‘<>’" #6

Open
Magicloud opened this issue Nov 9, 2019 · 0 comments
Open

Unbuildable for "Ambiguous occurrence ‘<>’" #6

Magicloud opened this issue Nov 9, 2019 · 0 comments

Comments

@Magicloud
Copy link

language-hcl> /tmp/stack1015630/language-hcl-0.1.2.0/src/Data/HCL/PrettyPrint.hs:63:35: error:
language-hcl>     Ambiguous occurrence ‘<>’
language-hcl>     It could refer to either ‘Prelude.<>’,
language-hcl>                              imported from ‘Prelude’ at src/Data/HCL/PrettyPrint.hs:16:8-27
language-hcl>                              (and originally defined in ‘GHC.Base’)
language-hcl>                           or ‘Text.PrettyPrint.HughesPJClass.<>’,
language-hcl>                              imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Data/HCL/PrettyPrint.hs:28:1-47
language-hcl>                              (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
language-hcl>    |
language-hcl> 63 |         HCLStringInterp t -> "#{" <> pPrint (Text.unpack t) <> "}"
language-hcl>    |                                   ^^
language-hcl> 
language-hcl> /tmp/stack1015630/language-hcl-0.1.2.0/src/Data/HCL/PrettyPrint.hs:63:61: error:
language-hcl>     Ambiguous occurrence ‘<>’
language-hcl>     It could refer to either ‘Prelude.<>’,
language-hcl>                              imported from ‘Prelude’ at src/Data/HCL/PrettyPrint.hs:16:8-27
language-hcl>                              (and originally defined in ‘GHC.Base’)
language-hcl>                           or ‘Text.PrettyPrint.HughesPJClass.<>’,
language-hcl>                              imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Data/HCL/PrettyPrint.hs:28:1-47
language-hcl>                              (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
language-hcl>    |
language-hcl> 63 |         HCLStringInterp t -> "#{" <> pPrint (Text.unpack t) <> "}"
language-hcl>    |                                                             ^^
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