I've vainly tried to get the type declaration examples working with Clozure CL, e.g. the following:
(datatype fruit
if (element? F [apples pears oranges])
______________________________________
F : fruit;)
but the only output I get is:
type error
It seems to be a problem with Ccl, is there any possibility that it runs properly?
P.S.: Type checking is turned on, (tc +)