1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00
guile/module/srfi
Mark H Weaver c9d903b6e4 SRFI-19: Check for incompatible types in time comparisons.
Fixes <https://bugs.gnu.org/26163>.
Reported by Zefram <zefram@fysh.org>.

* module/srfi/srfi-19.scm (time-compare-check): New procedure.
(time=?): Use 'time-compare-check' to check the arguments and raise an
error in case of mismatched types.  Previously, mismatched types would
cause time=? to return #f.
(time>?, time<?, time>=?, time<=?, time-difference!): Use
'time-compare-check' to check the arguments.
2018-10-21 19:42:38 -04:00
..
srfi-4 (srfi srfi-4 gnu) uses private define-bytevector-type from (srfi srfi-4) 2014-02-07 18:00:04 +01:00
srfi-9 doc: Fix typo in `set-record-type-printer!' doc. 2012-11-17 15:34:49 +01:00
srfi-42
srfi-64 Implement SRFI-64 - A Scheme API for test suites. 2014-02-01 01:19:55 -05:00
srfi-67 fix srfi-67 compilation 2011-09-02 19:49:26 +02:00
srfi-1.scm Rewrite boot-9 map to be recursive and pure 2014-05-01 21:17:28 +02:00
srfi-2.scm
srfi-4.scm Remove private unused duplicate c32/c64vector definitions 2014-02-07 17:57:30 +01:00
srfi-6.scm String ports use UTF-8; ignore %default-port-encoding. 2013-08-07 01:22:22 -04:00
srfi-8.scm
srfi-9.scm Match and srfi-9 expose their bailouts to the CSE pass 2014-04-05 11:56:44 +02:00
srfi-10.scm
srfi-11.scm
srfi-13.scm
srfi-14.scm
srfi-16.scm Add srfi-16 and srfi-30 to %cond-expand-features. 2014-01-14 02:19:52 -05:00
srfi-17.scm
srfi-18.scm srfi-18: 'thread-sleep!' timeout-as-a-number is relative. 2018-02-16 15:29:35 +01:00
srfi-19.scm SRFI-19: Check for incompatible types in time comparisons. 2018-10-21 19:42:38 -04:00
srfi-26.scm
srfi-27.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-28.scm Implement SRFI 28: Basic Format Strings. 2014-12-02 11:49:05 -05:00
srfi-31.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-34.scm Fix srfi-34 indentation 2016-10-30 20:31:57 +01:00
srfi-35.scm Use make-struct/no-tail instead of make-struct 2017-09-20 22:07:18 +02:00
srfi-37.scm SRFI-37: Account for zero-length arguments. 2017-04-20 10:58:54 +02:00
srfi-38.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-39.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-41.scm Add record type printer for srfi-41. 2013-04-07 12:44:31 -04:00
srfi-42.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-43.scm doc: Improve description of vector-unfold and vector-unfold-right. 2014-09-24 22:03:58 -04:00
srfi-45.scm Add record type printer for srfi-45. 2013-04-07 12:43:17 -04:00
srfi-60.scm
srfi-64.scm Implement SRFI-64 - A Scheme API for test suites. 2014-02-01 01:19:55 -05:00
srfi-67.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-69.scm Add missing 'cond-expand' feature identifiers; remove srfi-6 from core list. 2013-03-21 12:50:04 -04:00
srfi-71.scm Make srfi-71 visible through 'cond-expand'. 2018-07-04 20:42:07 -04:00
srfi-88.scm Improve correctness and consistency of 'eval-when' usage. 2014-01-23 10:41:22 -05:00
srfi-98.scm
srfi-111.scm Implement SRFI-111 Boxes. 2014-01-24 10:50:51 -05:00