i tried build hindent-4.4.0 on debian 8 ghc-7.6.3 performing cabal install hindent
, had following problems :
1. first problem
my build stop errors :
src/descriptive/json.hs:199:33: not in scope: `floatingorinteger' src/descriptive/json.hs:213:39: not in scope: `torealfloat'
after research, reinstalled scientific-0.3.3.8
lib cabal install scientific
(the lib provided debian 8 seems have problem )
after that, build of hindent has continue until the...
2. second problem
i error message :
src/hindent/pretty.hs:88:31: expecting 1 more argument `ast' in class declaration `pretty'
i suspected mismatching module version number , tried install recent version of hindent-4.4.2
manually downloading archive hackage.
i performed standard cabal install
leads me ...
3. third problem
cabal rejecting package due incompatible base version :
rejecting: base-4.6.0.1/installed-8aa... (conflict: hindent => base>=4.7 && <5)
and other versions of hindent seems incompatible base-4.6.
do know how build version of hindent on debian 8?