In article <[EMAIL PROTECTED]>,
Sven Panne <[EMAIL PROTECTED]> 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
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs