[Haskell-cafe] Finding substantial examples of Cabal Setup files

Jon Strait jstrait at moonloop.net
Thu Dec 10 17:27:50 EST 2009

Hi all,

I was looking through some of the Hackage packages to find examples of 
how developers are extending UserHooks in their Setup files, but it 
wasn't easy, since the great majority of Cabal Setup files in Hackage 
simply require only the standard line of  'main = defaultMain' or 
'defaultMainWithHooks' with a standard UserHooks value.

So, I started hacking together a little Emacs Lisp script to walk 
through all the packages in the Hackage archive and report on the Setup 
files that looked interesting enough to serve as non-trivial examples.  
Here is the latest result:



More information about the Haskell-Cafe mailing list