Cabal preprocessing

Stefan Holdermans stefan at cs.uu.nl
Thu Nov 30 05:36:27 EST 2006


Ulf,

> The problem with that is that someone getting the sources might get  
> the idea that the preprocessed file is  an actual source file and  
> try to modify it (or just make sense of it, imagine someone trying  
> to read a happy parser...). Including parts of dist in the tarball  
> makes it clear that what you get is not a vanilla source distribution.

Point taken. But ;), still, for instance, the Haskell files generated  
by our attribute grammar system all start with

   -- do not edit; automatically generated by UU.AG

Anyway, I'm not the best pick for defending the way it's done right  
now: I can perfectly live with either of these two alternatives, I  
guess.

Cheers,

   Stefan


More information about the Libraries mailing list