Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save christophsturm/c9a12f7f5bdc8c5a867a07f45642fcc7 to your computer and use it in GitHub Desktop.
Save christophsturm/c9a12f7f5bdc8c5a867a07f45642fcc7 to your computer and use it in GitHub Desktop.
[ 9 of 102] Compiling BNFC.PrettyPrint ( src/BNFC/PrettyPrint.hs, dist/build/bnfc/bnfc-tmp/BNFC/PrettyPrint.o )
src/BNFC/PrettyPrint.hs:16:13: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/BNFC/PrettyPrint.hs:2:8-23
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.<>’,
imported from ‘Text.PrettyPrint’ at src/BNFC/PrettyPrint.hs:10:1-23
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
16 | a <.> b = a <> "." <> b
| ^^
src/BNFC/PrettyPrint.hs:16:20: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/BNFC/PrettyPrint.hs:2:8-23
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.<>’,
imported from ‘Text.PrettyPrint’ at src/BNFC/PrettyPrint.hs:10:1-23
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
16 | a <.> b = a <> "." <> b
| ^^
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
BNFC-2.8.2-8AMKdjhdNWj2hYDZjKLNYo failed during the building phase. The
exception was:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment