|
Re: ghc-pkg 6.2 incorrectly parses commas within quotes: msg#00018lang.haskell.glasgow.bugs
In article <40016305.4040402@xxxxxxxxx>, Sven Panne <Sven.Panne@xxxxxxxxx> wrote: > which is plainly wrong. Now we do this *only* when a variable occurs on its > own, > like: > > ["${deps}","foo"] => ["base","haskell98","network","foo"] > > I have slight doubts about this obscure feature, but Sigbjorn seems to want > it... 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}. -- Ashley Yakeley, Seattle WA
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ghc-pkg 6.2 incorrectly parses commas within quotes, Sven Panne |
|---|---|
| Next by Date: | Re: ghc-pkg 6.2 incorrectly parses commas within quotes, Sven Panne |
| Previous by Thread: | Re: ghc-pkg 6.2 incorrectly parses commas within quotes, Sven Panne |
| Next by Thread: | Re: ghc-pkg 6.2 incorrectly parses commas within quotes, Sven Panne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |