jscl icon indicating copy to clipboard operation
jscl copied to clipboard

DEFSTRUCT docstrings + DOCUMENTATION 'TYPE

Open Uthar opened this issue 2 years ago • 1 comments

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'.

Uthar avatar Mar 29 '22 09:03 Uthar

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

vlad-km avatar Mar 29 '22 16:03 vlad-km