sunterlib/s48/heap-images/reinitializer.scm

13 lines
318 B
Scheme
Raw Normal View History

2004-02-12 09:48:39 -05:00
(define-record-type reinitializer :reinitializer
(make-reinitializer thunk)
reinitializer?
(thunk reinitializer-thunk))
(define-record-discloser :reinitializer
(lambda (r)
(list 'reinitializer (reinitializer-thunk r))))
(define-record-resumer :reinitializer
(lambda (r)
((reinitializer-thunk r))))