Template Haskell in cabal-install

Mikhail Glushenkov the.dead.shall.rise at gmail.com
Mon Dec 21 01:30:58 EST 2009


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.

Pros:

easier to add new licenses

Cons:

dependency on TH

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments



More information about the cabal-devel mailing list