[Openmcl-devel] deftype list-of (recursive definition)
stassats at gmail.com
Thu Jul 26 10:37:09 CDT 2012
Taoufik Dachraoui <dachraoui.taoufik at gmail.com> writes:
> I would like to define a recursive type as follows:
> (deftype list-of (type)
> `(or null (cons ,type (list-of ,type))))
> This does not work (stack overflow)
> How can define such types?
You can't. CL doesn't support them.
With best regards, Stas.
More information about the Openmcl-devel