[gambit-list] problem with memq

Stephane Le Cornec coleste at videotron.ca
Thu Jul 6 13:09:46 EDT 2006

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)
>  (define zz 0)
>  (aac "cotypes")

>  zz
'(ctype: "short" type*: VT_PTR ctype*: "void*" ctype+: #f)
>  (memq type*: zz)
>  (define xx '(ctype: "short" type*: VT_PTR ctype*: "void*" ctype+: #f))
>  (memq type*: xx)
(type*: VT_PTR ctype*: "void*" ctype+: #f)
coleste at videotron.ca (Stephane Le Cornec)
+------------------- Made with recycled electrons. --------------------+
| #include <disclaimer.h>                             Kebekkujin desu. |

More information about the Gambit-list mailing list