[local-time-devel] darcs patch: Removed read-time evaluation of constants (and 2 more)

Arjan Wekking arjan at streamtech.nl
Tue Jul 22 15:25:33 UTC 2008


Mon Jul 21 16:55:11 CEST 2008  Arjan Wekking <arjan at streamtech.nl>
  * Removed read-time evaluation of constants
  
  Clozure CL generates read errors when encountering read-time
  evaluation of constants such as '(integer 0 #.+seconds-per-day+) or
  #.+rotated-month-offsets-without-leap-day+ due to the constants not
  having been defined yet at read-time.
  
  I'm assuming most CL implementations will recognize these constants
  for what they are (constant) and will compile accordingly without
  these explicit reader macros.

Tue Jul 22 12:21:26 CEST 2008  Arjan Wekking <arjan at streamtech.nl>
  * Added %unix-gettimeofday with implementation for SBCL, CCL and CMUCL
  
  Maps to whatever the CL implementation has to access the UNIX
  gettimeofday(2) function. Returns NIL when the current implementation
  is not supported.

Tue Jul 22 12:24:04 CEST 2008  Arjan Wekking <arjan at streamtech.nl>
  * Made local-time:now portable by using %unix-gettimeofday
  
  This will add nanosecond timestamp support to local-time:now in
  Clozure CL (tested) and CMUCL (untested) besides the already existing
  SBCL support. To support any other CL implementations, simply add an
  implementation to %unix-gettimeofday.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: removed-read_time-evaluation-of-constants.dpatch
Type: text/x-darcs-patch
Size: 14726 bytes
Desc: A darcs patch for your repository!
URL: <https://mailman.common-lisp.net/pipermail/local-time-devel/attachments/20080722/36fa098a/attachment.bin>


More information about the local-time-devel mailing list