1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/module/srfi
Ludovic Courtès 0b7f2eb8bf Start rewriting SRFI-1 in Scheme.
This partially reverts commit e556f8c3c6
(Fri May 6 2005).

* module/srfi/srfi-1.scm (xcons, list-tabulate, not-pair?, car+cdr,
  last, fold, list-index): New procedures.

* srfi/srfi-1.c (srfi1_module): New variable.
  (CACHE_VAR): New macro.
  (scm_srfi1_car_plus_cdr, scm_srfi1_fold, scm_srfi1_last,
  scm_srfi1_list_index, scm_srfi1_list_tabulate, scm_srfi1_not_pair_p,
  scm_srfi1_xcons): Rewrite as proxies of the corresponding Scheme
  procedure.

* test-suite/tests/srfi-1.test ("list-tabulate")["-1"]: Change exception
  type to `exception:wrong-type-arg'.

* benchmark-suite/benchmarks/srfi-1.bm: New file.

* benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add
  `benchmarks/srfi-1.bm'.

* test-suite/standalone/Makefile.am (test_srfi_1_SOURCES,
  test_srfi_1_CFLAGS, test_srfi_1_LDADD): New variables.
  (check_PROGRAMS): Add `test-srfi-1'.
  (TESTS): Ditto.

* test-suite/standalone/test-srfi-1.c: New file.
2010-07-21 01:07:56 +02:00
..
srfi-4 rename (rnrs bytevector) to (rnrs bytevectors) 2010-06-01 13:26:11 +02:00
srfi-9 Record printer fixes 2010-05-27 14:09:56 -05:00
Makefile.am Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-1.scm Start rewriting SRFI-1 in Scheme. 2010-07-21 01:07:56 +02:00
srfi-2.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-4.scm rename (rnrs bytevector) to (rnrs bytevectors) 2010-06-01 13:26:11 +02:00
srfi-6.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-8.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-9.scm Fix SRFI-9 for records without fields 2010-06-19 14:52:56 +02:00
srfi-10.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-11.scm actually inline call-with-values to tree-il's <let-values> 2009-08-06 11:48:16 +02:00
srfi-13.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-14.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-16.scm srfi-16 just re-exports psyntax's case-lambda 2009-10-25 13:19:11 +01:00
srfi-17.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-18.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00
srfi-19.scm recommend #:replace 2010-07-17 13:31:06 +02:00
srfi-26.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-31.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-34.scm srfi-34 #:replace raise fix 2010-06-06 22:09:08 +02:00
srfi-35.scm Provide Guile-friendly `coding:' meta-data. 2010-01-11 01:21:13 +01:00
srfi-37.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-39.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-60.scm * module/srfi/srfi-60.scm (bit-count): #:replace core definition. 2010-06-28 15:03:34 +02:00
srfi-69.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
srfi-88.scm Provide Guile-friendly `coding:' meta-data. 2010-01-11 01:21:13 +01:00
srfi-98.scm Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00