Resolving dependencies... 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: 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: 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’ Failed to install textPlot-0.2 cabal: Error: some packages failed to install: textPlot-0.2 failed during the building phase. The exception was: ExitFailure 1