
21 Mar
2009
21 Mar
'09
9:28 a.m.
On Wed, 2009-03-18 at 23:24 +0100, David Waern wrote:
Haddock doesn't expand this variable. I remember seeing code to expand it in Cabal, though. Maybe it's just not used for Haddock 2?
Could be something we want to support in Haddock in the future, though. For example to allow a --package flag, to avoid having to specify files directly using --read-interface. Then Haddock needs to be able to expand this variable.
It certainly used to have a -package flag, Cabal used to use it. However we decided it was better to switch to passing the files directly because it gave us more control. For example we can check if the files really exist, or we could if we wanted to, work with docs for packages that are not yet registered. Duncan