ghc-pkg 6.2 incorrectly parses commas within quotes

Sven Panne Sven.Panne at aedion.de
Mon Jan 12 14:02:50 EST 2004


Ashley Yakeley wrote:
> Might it not be better to do it this way?
> 
>   deps = base,haskell98,network
> 
>   [${deps},"foo"] => (expand $-reference)
>   [base,haskell98,network,"foo"] => (quote things)
>   ["base","haskell98","network","foo"]
> 
> The idea is that unquoted things get implicitly quoted, so you don't 
> need to quote ${deps}.

I don't have very strong feelings about this, I just changed it in a
hopefully non-intrusive way. IMHO this feature is useless, anyway,
expanding during package installation time can easily be accomplished
by sed and friends...

Cheers,
    S.



More information about the Glasgow-haskell-bugs mailing list