Resolving dependencies... Configuring textPlot-0.2... Building textPlot-0.2... Failed to install textPlot-0.2 Build log ( /home/builder/.cabal/logs/textPlot-0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-1540/textPlot-0.2' Configuring textPlot-0.2... Building textPlot-0.2... Preprocessing library textPlot-0.2... [1 of 1] Compiling TextPlot ( TextPlot.hs, dist/build/TextPlot.o ) TextPlot.hs:46:10: error: • Illegal instance declaration for ‘Show Function’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) • In the instance declaration for ‘Show Function’ TextPlot.hs:82:10: error: • Illegal instance declaration for ‘EditPlot XYPlot Function’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) • In the instance declaration for ‘EditPlot XYPlot Function’ cabal: Leaving directory '/tmp/cabal-tmp-1540/textPlot-0.2' cabal: Error: some packages failed to install: textPlot-0.2 failed during the building phase. The exception was: ExitFailure 1