[Openmcl-devel] DEFSTRUCT and :INCLUDE

Ron Garret ron at flownet.com
Sat Oct 17 03:03:01 PDT 2009


On Oct 14, 2009, at 10:06 AM, Tobias C. Rittweiler wrote:

> Alexander Repenning <ralex at cs.colorado.edu> writes:
>
>> just curious, why even still use defstruct and not just CLOS. If one
>> does not need byte aligned data for low level data structures or to
>> squeeze out the last nano second for accessor is there some  
>> compelling
>> reason to even keep using CL structs?
>
> I prefer structures for their convenient syntactic notation, and
> automatic generation of predicate, copier, and especially print
> function.

It's pretty easy to write a wrapper for defmacro that provides these  
features.

rg




More information about the Openmcl-devel mailing list