This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 465: Add jiffy-modulus to specify when, if ever, current-jiffy wraps

2012-08-27 00:46:46
WG1 - Core
alexshinn
major
cowan
wontfix
source
closed
2012-07-17 13:01:40
defect

If a jiffy is to be both space-efficient (that is, a fixnum) and reasonably precise (say, microsecond timing), it needs to wrap around. That means an application needs to know what the maximum value is before it wraps back to zero. (Alternatively, it could be a signed value, but that seems like extra baggage.)

The jiffy-modulus function returns the maximum value of the current jiffy plus 1.

statusnewdecided

WG1 decided to reject all variants of this proposal.

resolutionwontfix
statusdecidedclosed