src/Document.lhs:32:42: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Document.lhs:7:10-17
(and originally defined in ‘GHC.Base’)
or ‘Document.<>’, defined at src/Document.lhs:27:9
|
32 | > catenate = foldr (<>) Empty
| ^^^^
$ cabal install lhs2tex ... [ 2 of 21] Compiling Document ( src/Document.lhs, dist/build/lhs2TeX/lhs2TeX-tmp/Document.o )
src/Document.lhs:32:42: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Document.lhs:7:10-17 (and originally defined in ‘GHC.Base’) or ‘Document.<>’, defined at src/Document.lhs:27:9 | 32 | > catenate = foldr (<>) Empty | ^^^^