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
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
--
http:
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 , but they do describe instances. SCM_CLASS_OF() is
>> SCM_STRUCT_VTABLE().
>
> OK, it would be more elegant.
>
> Can it be achieved without GOOPs
Andy Wingo writes:
> On Thu 05 May 2011 18:26, l...@gnu.org (Ludovic Courtès) writes:
>
>> Andy Wingo 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.
>
Hey!
Andy Wingo writes:
> Here's the problem, for me:
>
> scheme@(guile-user)> (define-record-type (make-foo x) foo? (x
> foo-x))
> scheme@(guile-user)> (make-foo 10)
> $1 = #< x: 10>
> scheme@(guile-user)> (struct-vtable $1)
> $2 = #
> scheme@(guile-user)> (struct-vta
On Thu 05 May 2011 18:26, l...@gnu.org (Ludovic Courtès) writes:
> Andy Wingo 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
On Thu 05 May 2011 17:24, Andy Wingo 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
> e
Hi :)
On Thu 05 May 2011 18:35, l...@gnu.org (Ludovic Courtès) writes:
> Andy Wingo writes:
>
>> If you know GOOPS, then you know that we have classes, rooted at
>> . And indeed shows up a lot in documentation and in
>> code. But that's not how it is in CLOS: our corresponds to
>> their `sta
Hello!
Andy Wingo writes:
> On Sun 27 Mar 2011 15:29, l...@gnu.org (Ludovic Courtès) writes:
>
>> Andy Wingo 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 pair whose c
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 unsigned&pointer problem if I get
some free time.
to Leslie:
> * AOT will get you half way there. In embedded systems it may be
> entirely suita
Hi Andy,
Andy Wingo writes:
> If you know GOOPS, then you know that we have classes, rooted at
> . And indeed shows up a lot in documentation and in
> code. But that's not how it is in CLOS: our corresponds to
> their `standard-class'. They have a superclass, called `class', which
> is the
Hello!
Andy Wingo 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 termination w
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 b5ad95e..2
That makes sense.
On Thu, May 5, 2011 at 11:24 AM, Andy Wingo 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 provided an
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.
15 matches
Mail list logo