[gambit-list] (##resolve-referencing-objects obj) => list of the objects that reference obj implementation, feedback welcome.

Mikael mikael.rcv at gmail.com
Wed Jun 19 11:47:40 EDT 2013


2013/6/19 Mikael <mikael.rcv at gmail.com>
..

>             } else {
>               // Reference from global variable etc.
>               add_resolved_referencing_object(___ABSENT);
>             }
>
>
___ABSENT showed to be unpractical as it behaves in an atypical way,
so___UNB1better is a better choice.
So:

              add_resolved_referencing_object(___UNB1);

By this reason, using ##resolve-referencing-objects looks slightly
different now:

$ gsc
Gambit v4.6.9

> (define a "Hello world")
> (##resolve-referencing-objects a)
(#!unbound #!unbound #!unbound)
> (list a)
("Hello world")
> (##resolve-referencing-objects a)
(#!unbound #!unbound #!unbound ("Hello world"))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130619/9150ca0d/attachment.htm>


More information about the Gambit-list mailing list