Inline class/condition documentation #20
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
question
Further information is requested
We already have a documentation shortcut in
define-generic
, allowing documentation after the initial generic declaration:This usefully expands to the proper
:documentation
option ofdefgeneric
.This inline syntax would be useful in
define-class
/define-condition*
, and is exemplified by Nyxt'sdefine-mode
already:Would be nice to make it native to
define-class
for even more brevity and ease of use. The downside is that the signature becomes less exact.The text was updated successfully, but these errors were encountered: