
21 Jul
2009
21 Jul
'09
5:26 a.m.
Except that it's ugly compared to the proposed extension. With the extension you can put things in the same, right place:
renderGhcOptions opts = ghcOptExtraPre opts
-- source search path ++ [ "-i" | not (null (ghcOptSearchPath opts)) ] ++ [ "-i", dir | dir <- ghcOptSearchPath opts ]
Following the discussions, I now support this extension too - I keep seeing more and more places in my code where it would be very useful. Thanks Neil