From a40d5455f2deb554ef3007b37441c16506f1c557 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 3 Oct 2015 19:20:52 -0700 Subject: slot-p renamed to slotp, conforming with Lisp conventions. * share/txr/stdlib/struct.tl (sys:prune-nil-inits): Use of slot-p renamed. * struct.c (struct_init): Register slotp, and make registration of slot-p conditional on compatibility option. (slot_p): Function renamed to slotp. * struct.h (slot_p): Declaration renamed. * txr.1: References to slot-p fixed to slotp. Compat notes added. --- struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'struct.h') diff --git a/struct.h b/struct.h index 612c47db..bb48a2b3 100644 --- a/struct.h +++ b/struct.h @@ -37,7 +37,7 @@ val slot(val strct, val sym); val slotset(val strct, val sym, val newval); val static_slot(val stype, val sym); val static_slot_set(val stype, val sym, val newval); -val slot_p(val type, val sym); +val slotp(val type, val sym); val static_slot_p(val type, val sym); val structp(val obj); val struct_type(val strct); -- cgit v1.2.3