Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-11-103-gc399333

2010-06-19 Thread Ludovic Courtès
Hi, "Andy Wingo" writes: > +(define (open-string-input-port str) > + "Open an input port that will read from @var{str}." > + (open-input-string str)) > + > +(define (open-string-output-port) > + "Return two values: an output port that will collect characters written to > it > +as a string, a

Static Asserts

2010-06-19 Thread Noah Lavine
Hello, I discovered that my previous build failure was not because of a Makefile issue but because my modifications had changed the size of struct scm_objcode, which broke other parts of the program. I found several files where structs are cast from bytes using #define'd values, which are most lik

[PATCH] Fix SRFI-9 for records without fields

2010-06-19 Thread Andreas Rottmann
From: Andreas Rottmann Subject: Fix SRFI-9 for records without fields * module/srfi/srfi-9.scm (define-record-type): Deal with fieldless records. * test-suite/tests/srfi-9.test: Add a fieldless record definition. --- module/srfi/srfi-9.scm |4 test-suite/tests/srfi-9.test |2

[PATCH] Ignore the SRFI name component(s) in R6RS imports

2010-06-19 Thread Andreas Rottmann
From: Andreas Rottmann Subject: Ignore the SRFI name component(s) in R6RS imports * module/ice-9/r6rs-libraries.scm (resolve-r6rs-interface): To avoid having to create alias libraries for all the SRFIs, we simply ignore the name components, so (srfi :n foo bar) will resolve to (srfi :n). --

[PATCH] ice-9 receive without defmacro

2010-06-19 Thread Andreas Rottmann
From: Andreas Rottmann Subject: ice-9 receive without define-macro * module/ice-9/receive.scm: Replace define-macro usage with syntax-rules. --- module/ice-9/receive.scm | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/module/ice-9/receive.scm b/module/ice-9/rec

[PATCH] add rnrs unicode to the compound rnrs module

2010-06-19 Thread Andreas Rottmann
The compound module (rnrs) was missing (rnrs unicode). From: Andreas Rottmann Subject: add rnrs unicode to the compound rnrs module * module/rnrs.scm: import rnrs unicode and export all of its procedures. --- module/rnrs.scm | 16 ++-- 1 files changed, 14 insertions(+), 2 deleti