Fwd: A (Graph?) database for GNU

2014-01-02 Thread amz3
Héllo, I foward to you (guile-user) this message that might be of interest, Original Message Subject: A (Graph?) database for GNU Date: 2014-01-01 15:38 From: amz3 To: gnu-misc-disc...@gnu.org Héllo all, First, I know that it's not welcomed to ask people to write free s

Where is the backtrace?

2014-01-02 Thread Panicz Maciej Godek
> (define (f) (define (g) (define (h) ((lambda x (cdr x (h)) (g)) > (f) :13:0: In procedure #:13:0 x>: :13:0: In procedure cdr: Wrong type argument in position 1 (expecting pair): () Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue > ,bt In current input: 13:0 0 (#

Re: Way to control the order of macro expansion

2014-01-02 Thread Panicz Maciej Godek
It turned out, that the above solution doesn't work exactly as expected -- since the scopes of "private" and "interface" get separated (by the with-syntax form that I have been so proud of), it is impossible for the public forms to refer to private bindings. To solve that issue, I had to pass the

Re: Way to control the order of macro expansion

2014-01-02 Thread Chris Vine
On Thu, 2 Jan 2014 15:30:32 +0100 Panicz Maciej Godek wrote: > After reading some of the original paper by Dybvig[1], > I finally managed to get the macro right. The trick > was to use "with-syntax", which -- I have to admit > -- is still a little magical to me. But by mimicking > the way the proc

Re: Way to control the order of macro expansion

2014-01-02 Thread Panicz Maciej Godek
After reading some of the original paper by Dybvig[1], I finally managed to get the macro right. The trick was to use "with-syntax", which -- I have to admit -- is still a little magical to me. But by mimicking the way the procedure "generate-temporaries" has been used in the Dybvig's implementatio