Resolving dependencies... Configuring const-math-ghc-plugin-0.1.0.0... Building const-math-ghc-plugin-0.1.0.0... Preprocessing library const-math-ghc-plugin-0.1.0.0... [1 of 4] Compiling ConstMath.Rules ( ConstMath/Rules.hs, dist/build/ConstMath/Rules.o ) ConstMath/Rules.hs:41:45: Ambiguous occurrence ‘rationalToFloat’ It could refer to either ‘ConstMath.Rules.rationalToFloat’, defined at ConstMath/Rules.hs:13:1 or ‘GHC.Float.rationalToFloat’, imported from ‘GHC.Float’ at ConstMath/Rules.hs:9:1-16 ConstMath/Rules.hs:42:45: Ambiguous occurrence ‘rationalToDouble’ It could refer to either ‘ConstMath.Rules.rationalToDouble’, defined at ConstMath/Rules.hs:27:1 or ‘GHC.Float.rationalToDouble’, imported from ‘GHC.Float’ at ConstMath/Rules.hs:9:1-16 Failed to install const-math-ghc-plugin-0.1.0.0 cabal: Error: some packages failed to install: const-math-ghc-plugin-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1