Re: [PATCH] Preserve keyword in 'syntax-rules' and 'define-syntax-rule'

2012-10-11 Thread Ludovic Courtès
Hi Alex, Alex Shinn skribis: > This is not a bug. R5RS states: > > The keyword at the beginning of the pattern in a is > not involved in the matching and is not considered a pattern > variable or literal identifier. > > R6RS forbids _ as a literal. R7RS retains the R5RS ignorin

Re: Guile 2.0.6 - some tests fail

2012-10-11 Thread Jan Synacek
diff --git a/test-suite/tests/ftw.test b/test-suite/tests/ftw.test index 33537d0..a3be1a7 100644 --- a/test-suite/tests/ftw.test +++ b/test-suite/tests/ftw.test @@ -189,7 +189,7 @@ (up (lambda (n s r) (cons `(up ,n) r))) (skip (lambda (n s r) (cons `(skip ,n) r)))

Re: Guile 2.0.6 - some tests fail

2012-10-11 Thread Mark H Weaver
Hi Jan, FYI, your email had "Content-Type: multipart/alternative", where one part was your email's main text (reproduced below) and the other part was the patch. This was an improper use of that MIME type, which suggests that the user agent should normally show only one of the parts. It caused my

Re: [PATCH] Implement ‘hash’ for structs

2012-10-11 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: > >> I guess this 'if' is to avoid an infinite loop if the struct points back >> to itself. However, it apparently fails to detect cycles in the general >> case. > > Yes, indeed. > > Here’s an updated patch that uses the ‘depth’ arg

Re: [PATCH] Implement ‘hash’ for structs

2012-10-11 Thread Ludovic Courtès
Hi, Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Mark H Weaver skribis: >> >>> I guess this 'if' is to avoid an infinite loop if the struct points back >>> to itself. However, it apparently fails to detect cycles in the general >>> case. >> >> Yes, indeed. >> >> Here’s

Re: [PATCH] In string-split, add support for character sets and predicates.

2012-10-11 Thread Daniel Hartwig
Patch with .texi updated also. 0001-In-string-split-add-support-for-character-sets-and-p.patch Description: Binary data