
1 Jan
2013
1 Jan
'13
9:19 a.m.
Daniel Fischer
When hacking on a package without using cabal, you can
a) remove the problematic macro b) define it in the file yourself c) pass -D"MIN_VERSION_base(x,y,z)=1" on the command line
what about mimicking what cabal does, e.g. create a CPP file (e.g. 'cabal_macros.h') with the needed definitions and call ghc(i) something along the lines of ghci -optP-include -optPcabal_macros.h TheModule.hs ?