This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Something like vector-grow available?


Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE> writes:

> Michael Livshin <cmm@verisity.com> writes:
> 
> > install an after-GC hook which shakes the guardian.  
> 
> I am learning the hard way...  Ehm, how do I install a after-gc hook?

oh.  I forgot that after-gc hooks are still being discussed.

so do this, then:

(set! gc-thunk 
      (let ((old-thunk gc-thunk))
	(lambda ()
          (invalidate-observers))))

sorry.

> Jost

--mike

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]