From 94d029b0f24756b84a94ce2b3f8fd5739166b0c5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 8 Sep 2015 07:01:42 -0700 Subject: New functions, subtypep and typep. * eval.c (eval_init): Register subtypep and typep. * eval.h (list_s): Existing variable declared. * lib.c (atom_s, integer_s, number_s, sequence_s, string_s): new symbol variables. (subtypep, typep): New functions. (obj_init): Initialize new symbol variables. * lib.c (atom_s, integer_s, number_s, sequence_s, string_s): Declared. * txr.1: Documented type hierarchy and the new functions. --- eval.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval.h') diff --git a/eval.h b/eval.h index 61bfb5db..8df0eac0 100644 --- a/eval.h +++ b/eval.h @@ -24,7 +24,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -extern val dwim_s, lambda_s, vector_lit_s, vector_list_s; +extern val dwim_s, lambda_s, vector_lit_s, vector_list_s, list_s; extern val hash_lit_s, hash_construct_s, struct_lit_s, qref_s; extern val eval_error_s; extern val last_form_evaled, last_form_expanded; -- cgit v1.2.3