From 2428eb747884ff3e99ff2a4692d0424092b60b78 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 4 Sep 2019 06:33:30 -0700 Subject: type: lcons and string are subtypes of sequence. Omissions reported by user vapnik spaknik. * lib.c (subtypepe): The lcons type and string type must report as subtypes of sequence. --- lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib.c') diff --git a/lib.c b/lib.c index ebcd1670..08e1d5ea 100644 --- a/lib.c +++ b/lib.c @@ -234,7 +234,7 @@ val subtypep(val sub, val sup) } else if (sup == sequence_s) { return tnil(sub == str_s || sub == lit_s || sub == lstr_s || sub == vec_s || sub == null_s || sub == cons_s || - sub == list_s); + sub == lcons_s || sub == list_s || sub == string_s); } else if (sup == string_s) { return tnil(sub == str_s || sub == lit_s || sub == lstr_s); } else if (sup == stream_s) { -- cgit v1.2.3