patch applied (cabal): Replace lots of configBlahDir fields with just one InstallDirs
18 Dec
2007
18 Dec
'07
9:04 a.m.
Sat Dec 8 10:26:20 PST 2007 Duncan Coutts <duncan@haskell.org> * Replace lots of configBlahDir fields with just one InstallDirs So instead of 10 fields like this: configPrefix :: Maybe FilePath, ... we have just one compound one: configInstallDirs :: InstallDirs (Maybe FilePath) Now that LocalBuildInfo and cabal-install's config use InstallDirs it makes converting a lot easier since we can use fmap and combineInstallDirs. This should also be easier to maintain as it has significantly reduced the number of places in the code you have to change when you add/change a dir. M ./Distribution/Simple/Configure.hs -15 +3 M ./Distribution/Simple/InstallDirs.hs +1 M ./Distribution/Simple/Setup.hs -45 +22
6784
Age (days ago)
6784
Last active (days ago)
0 comments
1 participants
participants (1)
-
Duncan Coutts