Hi All, I thought I'd take a moment to mention that the GHC build system is basically unmaintainable by anyone except the original authors. It's clear that a heroic effort has been made to fit a square peg into a round hole, and I *want* to help, but stuff like this makes my eyes hurt:
$$($$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_DEPS) | $$$$(dir $$$$@)/. So does this: $$(foreach pkg,$$($1_$2_DEPS),$$(if $$($$(pkg)_HADDOCK_FILE),--read-interface=../$$(pkg)$$(comma)../$$(pkg)/src/%{MODULE/./-}.html\#%{NAME}$$(comma)$$($$(pkg)_HADDOCK_FILE))) and this: $$(foreach p,$$(patsubst libraries/%,%,$$(wildcard $$(shell grep '^[^ #][^ ]* \+\(dph\|extra\) \+[^ ]\+ \+[^ ]\+ \+[^ ]\+' packages | sed 's/ .*//'))) I once heard that you should write your code like it'll be read by a psychotic axe murder that knows where you live. Suffice to say, I don't own any axes, nor am I planning on buying any. Axes aren't really my thing. What *is* my thing is helping to write GHC, but this is very difficult when faced with write-only code. Ben. _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc