jscl
jscl copied to clipboard
DEFSTRUCT docstrings + DOCUMENTATION 'TYPE
ABCL:
CL-USER(1): (defstruct foo "it's a foo")
FOO
CL-USER(2): (documentation 'foo 'type)
"it's a foo"
JSCL:
CL-USER> (defstruct foo "it's a foo")
ERROR: "it's a foo" is not a legal slot description.
CL-USER> (documentation 'foo 'type)
ERROR: ECASE expression failed for the object `TYPE'.
Thanks for the feedback. Support for this option was not originally provided due to infrequent use. In a future update, there is an intention to bring docstring support to both structs and classes