
21 Dec
2009
21 Dec
'09
9:49 a.m.
On Mon, 2009-12-21 at 07:30 +0100, Mikhail Glushenkov wrote:
Hi,
Would it be worthwile to reimplement Distribution/Client/Init/Licenses.hs using a TH macro that parses and loads license files at compile time? IIUC, currently one has to use a Perl script to add new licenses.
We cannot have cabal-install use TH, because that language extension is GHC-only. I suggest we change it so that the license files are external data files. Then we just use string substitution. Duncan