Resolving dependencies... [1 of 1] Compiling Main ( /tmp/cabal-tmp-25317/dimensional-0.7/dist/setup/setup.hs, /tmp/cabal-tmp-25317/dimensional-0.7/dist/setup/Main.o ) Linking /tmp/cabal-tmp-25317/dimensional-0.7/dist/setup/setup ... Configuring dimensional-0.7... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building dimensional-0.7... Preprocessing library dimensional-0.7... [1 of 8] Compiling Numeric.NumType ( Numeric/NumType.lhs, dist/build/Numeric/NumType.o ) Numeric/NumType.lhs:166:3: Too many parameters for class ‘Negate’ (Use MultiParamTypeClasses to allow multi-parameter classes) In the class declaration for ‘Negate’ Failed to install dimensional-0.7 cabal: Error: some packages failed to install: dimensional-0.7 failed during the building phase. The exception was: ExitFailure 1