[Larceny-users] Getting unix-era time in Larceny

David Rush kumoyuki at gmail.com
Mon Mar 26 16:47:26 EDT 2007


On 3/26/07, Lars T Hansen <lth at acm.org> wrote:
> On 3/26/07, David Rush <kumoyuki at gmail.com> wrote:
> > And just to be difficult, I do need it to work on windows :) Any suggestions?
>
> Strikes me as something there ought to be a simple syscall for.

Me too. And answering Will's question - I need it to generate
timestamps consistent with a legacy system's functionality.

> If you're happy with 1 second resolution, you can cobble something
> together with with-output-to-file, display, and
> file-modification-time, but it's not exactly pretty:

Oh. My. God.

I was actually trying to avoid that kind of thing. It seems to me that
figuring out a patch to the Rts codebase is arguably more elegant.

> With a randomly generated file name and some platform adaptation this
> might even approach being robust...

*chuckle*

david
-- 
Once you label me, you negate me
    - Soren Kierkegaard



More information about the Larceny-users mailing list