[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Deprecate current-milliseconds in favor of current-process-mill
From: |
felix . winkelmann |
Subject: |
[PATCH] Deprecate current-milliseconds in favor of current-process-milliseconds and improve behaviour a bit [was: Re: Exposing subsecond precision in current-seconds] |
Date: |
Wed, 06 May 2020 11:23:58 +0200 |
> On Thu, Apr 30, 2020 at 12:11:31PM +0200, address@hidden wrote:
> > > Yeah, like I said in my other message, we could use the name
> > > current-process-milliseconds, like Racket;
> > > https://docs.racket-lang.org/reference/time.html
> > >
> > > I like the name, because it's pretty clear what it does; it yields the
> > > number of milliseconds the process has been running for.
> > >
> > > We can make it a procedure without arguments, because that part of the
> > > Racket interface looks messy and confusing to me.
> >
> > Yes, makes sense.
>
> Attached is a set of two patches. The first one simply adds a
> deprecation notice to current-milliseconds and adds the new procedure
> current-process-milliseconds.
>
Thanks - pushed. I have taken the freedom to add comments in
chicken.time.import.scm
and library.scm indicating listed identifiers are deprecated.
felix