summaryrefslogtreecommitdiff
path: root/libguile/cpp_signal.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-07-13 00:07:12 +0200
committerLudovic Courtès <ludo@gnu.org>2010-07-21 01:07:56 +0200
commit0b7f2eb8bf5002c91dec6267afb451ee6e3bf7c1 (patch)
treefd4a85fa48234271610f7da0f0f4c80d157b1fc7 /libguile/cpp_signal.c
parent927bf5e8cc0af9515797ebab6d9ba162bef23c2a (diff)
downloadguile-0b7f2eb8bf5002c91dec6267afb451ee6e3bf7c1.tar.gz
Start rewriting SRFI-1 in Scheme.
This partially reverts commit e556f8c3c6b74ee6596e8dcbe829109d7745da2c (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.
Diffstat (limited to 'libguile/cpp_signal.c')
0 files changed, 0 insertions, 0 deletions