diff options
author | Andy Wingo <wingo@pobox.com> | 2009-12-04 13:05:00 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2009-12-04 13:05:00 +0100 |
commit | 8a1f4f98e121c4ba90eb992203713cf493d45c71 (patch) | |
tree | 16d0f6f376528b6d374a58afebe602087d18ba02 /libguile/procs.c | |
parent | 31d845b4bc4bf50f32492c17dc43c9ccea779acb (diff) | |
download | guile-8a1f4f98e121c4ba90eb992203713cf493d45c71.tar.gz |
remove rpsubrs
* libguile/tags.h: Remove rpsubrs (I chose to interpret the terse name
as "recursive predicate subrs"). Just use gsubrs with rest arguments,
or do a fold yourself.
* libguile/array-map.c (scm_i_array_equal_p): Do the comparison in
order, why not.
* libguile/chars.c:
* libguile/eq.c:
* libguile/numbers.c:
* libguile/strorder.c: Add 0,2,1 gsubr wrappers for rpsubrs like eq?, <,
etc.
* libguile/goops.c (scm_class_of)
* libguile/procprop.c (scm_i_procedure_arity)
* libguile/procs.c (scm_thunk_p)
* libguile/vm.c (apply_foreign): Remove rpsubr cases.
* test-suite/tests/numbers.test ("=", "<"): Turn a couple xfails into
passes.
Diffstat (limited to 'libguile/procs.c')
-rw-r--r-- | libguile/procs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libguile/procs.c b/libguile/procs.c index 36ee34d48..1d1be06c4 100644 --- a/libguile/procs.c +++ b/libguile/procs.c @@ -135,8 +135,6 @@ SCM_DEFINE (scm_thunk_p, "thunk?", 1, 0, 0, { case scm_tcs_closures: return scm_from_bool (SCM_CLOSURE_NUM_REQUIRED_ARGS (obj) == 0); - case scm_tc7_rpsubr: - return SCM_BOOL_T; case scm_tc7_gsubr: return scm_from_bool (SCM_GSUBR_REQ (SCM_GSUBR_TYPE (obj)) == 0); case scm_tc7_program: |