[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MIT-Scheme-devel] fasl hook or something

From: Matt Birkholz
Subject: Re: [MIT-Scheme-devel] fasl hook or something
Date: Tue, 11 May 2010 11:35:45 -0700

> From: Joe Marshall <address@hidden>
> Date: Tue, 11 May 2010 10:24:56 -0700
> [...]
> The problem occurs if someone writes a program with a form like this in it:
> (define *jan-1-2000* (make-timestamp (make-decoded-time 0 0 0 1 1 2000)))
> and then they compile the program.  I want the timestamp to be
> reconstructed and re-interned when the program is loaded so that it
> remains EQ? to existing timestamps.

I don't see the problem, at least not in this example.  The call to
make-timestamp will do exactly what you describe, unless "loaded"
means "fasload'ed" and not "load'ed"...

If make-timestamp is a record constructor, you have bigger problems
than re-interning the fasloaded copies.  You first have to fasdump
objects with record-types, methods, things that
reference... everything.  Cut THOSE cords, and the fasload problem
might just go away.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]