Hello,
If you call `map' or `for-each' with more than one list, our versions of
these operators will detect if the lists are of unequal length, and
throw an error in that case.
However, SRFI-1 has long provided an extension to this, to allow for
early termination when any of the lists runs out.
That makes sense.
On Thu, May 5, 2011 at 11:24 AM, Andy Wingo wi...@pobox.com wrote:
Hello,
If you call `map' or `for-each' with more than one list, our versions of
these operators will detect if the lists are of unequal length, and
throw an error in that case.
However, SRFI-1 has long
Hello!
Here’s an updated patch that strictly checks for ill-formed UTF-8
sequences, as Mark pointed out. It passes all the tests I recently
added to ports.test.
I’d like to commit it soon, when Mark approves. :-)
Thanks,
Ludo’.
diff --git a/libguile/ports.c b/libguile/ports.c
index
Hello!
Andy Wingo wi...@pobox.com writes:
If you call `map' or `for-each' with more than one list, our versions of
these operators will detect if the lists are of unequal length, and
throw an error in that case.
However, SRFI-1 has long provided an extension to this, to allow for
early
Hi Andy,
Andy Wingo wi...@pobox.com writes:
If you know GOOPS, then you know that we have classes, rooted at
class. And indeed class shows up a lot in documentation and in
code. But that's not how it is in CLOS: our class corresponds to
their `standard-class'. They have a superclass,
hi guys. I put this project there:
git://gitorious.org/guile-inline/guile-inline.git
in case somebody needs it.
And fixed some problems. I'll fix the unsignedpointer problem if I get
some free time.
to Leslie:
* AOT will get you half way there. In embedded systems it may be
entirely
Hello!
Andy Wingo wi...@pobox.com writes:
On Sun 27 Mar 2011 15:29, l...@gnu.org (Ludovic Courtès) writes:
Andy Wingo wi...@pobox.com writes:
On Sun 13 Mar 2011 16:25, l...@gnu.org (Ludovic Courtès) writes:
The problem is that ‘hash-create-handle!’ above created a weak-cdr
pair—i.e., a
Hi :)
On Thu 05 May 2011 18:35, l...@gnu.org (Ludovic Courtès) writes:
Andy Wingo wi...@pobox.com writes:
If you know GOOPS, then you know that we have classes, rooted at
class. And indeed class shows up a lot in documentation and in
code. But that's not how it is in CLOS: our class
On Thu 05 May 2011 17:24, Andy Wingo wi...@pobox.com writes:
If you call `map' or `for-each' with more than one list, our versions of
these operators will detect if the lists are of unequal length, and
throw an error in that case.
However, SRFI-1 has long provided an extension to this, to
On Thu 05 May 2011 18:26, l...@gnu.org (Ludovic Courtès) writes:
Andy Wingo wi...@pobox.com writes:
If you call `map' or `for-each' with more than one list, our versions of
these operators will detect if the lists are of unequal length, and
throw an error in that case.
However, SRFI-1 has
Hey!
Andy Wingo wi...@pobox.com writes:
Here's the problem, for me:
scheme@(guile-user) (define-record-type foo (make-foo x) foo? (x
foo-x))
scheme@(guile-user) (make-foo 10)
$1 = #foo x: 10
scheme@(guile-user) (struct-vtable $1)
$2 = #vtable:2356fa0
Andy Wingo wi...@pobox.com writes:
On Thu 05 May 2011 18:26, l...@gnu.org (Ludovic Courtès) writes:
Andy Wingo wi...@pobox.com writes:
If you call `map' or `for-each' with more than one list, our versions of
these operators will detect if the lists are of unequal length, and
throw an error
On Thu 05 May 2011 22:19, l...@gnu.org (Ludovic Courtès) writes:
Vtables *are* classes, on a fundamental level. Bare vtables are not as
nice as class, but they do describe instances. SCM_CLASS_OF() is
SCM_STRUCT_VTABLE().
OK, it would be more elegant.
Can it be achieved without
Hi,
On Thu 05 May 2011 22:21, l...@gnu.org (Ludovic Courtès) writes:
Yes, and I think we can keep rewriting SRFI-1 in Scheme, even in 2.0.
So I implemented map in Scheme
Ooh, interesting. :-)
I pushed to stable-2.0. Let me know if you want me to back it out.
Cheers,
Andy
--
Version: 2.0.1
' (a #{.}# b)
$1 = (a . b)= dot as cons ?
(list a '#{.}# b)
$2 = (a #{.}# b) =shouldn't it be like this?
Sorry I didn't subscribe to the bug-guile mailing list.
--
Wir müssen wissen; wir werden wissen!
CrLF.0710
15 matches
Mail list logo