summaryrefslogtreecommitdiff
path: root/libguile/goops.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-12-04 13:05:00 +0100
committerAndy Wingo <wingo@pobox.com>2009-12-04 13:05:00 +0100
commit8a1f4f98e121c4ba90eb992203713cf493d45c71 (patch)
tree16d0f6f376528b6d374a58afebe602087d18ba02 /libguile/goops.c
parent31d845b4bc4bf50f32492c17dc43c9ccea779acb (diff)
downloadguile-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/goops.c')
-rw-r--r--libguile/goops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libguile/goops.c b/libguile/goops.c
index 5c12f51a4..4fa5ef3a3 100644
--- a/libguile/goops.c
+++ b/libguile/goops.c
@@ -226,7 +226,6 @@ SCM_DEFINE (scm_class_of, "class-of", 1, 0, 0,
return scm_class_fraction;
}
case scm_tc7_cxr:
- case scm_tc7_rpsubr:
case scm_tc7_gsubr:
if (SCM_SUBR_GENERIC (x) && *SCM_SUBR_GENERIC (x))
return scm_class_primitive_generic;