[Openmcl-devel] Extended-char is subtype of any other type
Renzo Orsini
renzo.orsini at gmail.com
Thu Mar 2 02:58:45 PST 2017
I found this strange behaviour when applying subtypep to extended-char:
$ ccl
Welcome to Clozure Common Lisp Version 1.11-r16635 (DarwinX8664)!
CCL is developed and maintained by Clozure Associates. For more information
about CCL visit http://ccl.clozure.com. To enquire about Clozure's Common Lisp
consulting services e-mail info at clozure.com or visit http://www.clozure.com.
? (subtypep 'extended-char 'bit)
T
T
? (subtypep 'extended-char 'function)
T
T
?
… and similarly for many other types.
while the HyperSpec says (http://www.lispworks.com/documentation/HyperSpec/Body/t_extend.htm#extended-char):
The type extended-char is equivalent to the type (and character (not base-char)).
More information about the Openmcl-devel
mailing list