Guile 1.9 series, unquote and unquote-splicing not up-to-date.

2010-12-14 Thread Rock
I've just verified that the implementations of unquote and unquote-splicing in Guile do not conform to R6RS. Perhaps this is intentional, but it would be a shame because the change in R6RS is certainly one for the better. Scheme's quasiquotation is defined very well (it's even used as a reference

How to unquote arbitrary length elements in a backquote

2010-12-21 Thread Rock
Given that Guile hasn't adopted R6RS style quasiquotation yet (and I don't know if it ever will), here's a workaround I've come up with. This is also in reply to Hans Aberg's question regarding Backquote simplification. Basically, this is the story: (unquote x1 x2 ... xn) --- (unquote-splicing