[gambit-list] problem with memq

Stephane Le Cornec coleste at videotron.ca
Thu Jul 6 15:29:01 EDT 2006


Ok, forget it - need to remove the quote for the macro version.


At 13:09 -0400 2006/07/06, Stephane Le Cornec wrote:
>I don't have a clue how I managed to get that result. I am trying to
>simplify and reproduce. Anyone has an idea on how this could happen?
>
>zz is set! in a lambda called by a macro in cotypes.
>
>
>Gambit Version 4.0 beta 17
>
>>   (aa)
>"c:/dev/aaScratch/com/costruct.scm"
>>   (define zz 0)
>>   (aac "cotypes")
>
>#t
>>   zz
>'(ctype: "short" type*: VT_PTR ctype*: "void*" ctype+: #f)
>>   (memq type*: zz)
>#f
>>   (define xx '(ctype: "short" type*: VT_PTR ctype*: "void*" ctype+: #f))
>>   (memq type*: xx)
>(type*: VT_PTR ctype*: "void*" ctype+: #f)
>>
>--
>Stephane!
>coleste at videotron.ca (Stephane Le Cornec)
>+------------------- Made with recycled electrons. --------------------+
>| #include <disclaimer.h>                             Kebekkujin desu. |
>+---------<http://www.starfiredesign.com/starfire/index.html>----------+
>_______________________________________________
>Gambit-list mailing list
>Gambit-list at iro.umontreal.ca
>http://mailman.iro.umontreal.ca/mailman/listinfo/gambit-list

-- 
Stephane!
coleste at videotron.ca (Stephane Le Cornec)
+------------------- Made with recycled electrons. --------------------+
| #include <disclaimer.h>                             Kebekkujin desu. |
+---------<http://www.starfiredesign.com/starfire/index.html>----------+



More information about the Gambit-list mailing list