[gambit-list] SRFI-43 (vector library)

Bradley Lucier lucier at math.purdue.edu
Mon Mar 9 08:26:03 EDT 2009


On Mar 9, 2009, at 7:31 AM, Marijn Schouten (hkBst) wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bradley Lucier wrote:
>>
>> On Mar 8, 2009, at 10:53 AM, Marijn Schouten (hkBst) wrote:
>>
>>> it seems that SRFI-43 (vector library) is not (yet) supported. I'd
>>> really like
>>> to use it. Are there any plans for adding it?
>>
>> How isn't it supported?  This works:
>>
>>> (load "~~/lib/syntax-case")
>>> (compile-file "vector-lib.scm")
>>> (load "vector-lib")
>> "/Users/lucier/Desktop/vector-lib.o1"
>>
>> Brad
>
> IMO that's like saying "ship your own stdlib.[ch]" for a C compiler.

Umm, no, it's not.

> It may
> work, but that doesn't mean it is supported.
>
> On top of that I have bad experiences loading syntax-case with  
> gambit. Leading
> to crashes and changed behavior. Maybe this was fixed by Marc  
> recently...

You need syntax-case only to compile vector-lib, you can use the  
compiled version with any program, whether it uses syntax-case or not.

Brad



More information about the Gambit-list mailing list