Skip to content

An extended &key arglist in the function's definition could help autodoc #2

@joaotavora

Description

@joaotavora

`(defun ,name (&rest ,g!attrs-and-children)

Without ever having tried your library, which looks very good, I wonder if this macro could get (from the HTML5 spec) the keyword parameters most commonly required/optional for each element and code them as &key args. You would still &allow-other-keys and you could immediately ignore these args, but the big advantage is that you get to see this in the autodoc hint in SLY/SLIME.

This is something I wish other libraries had. Since yours is so new and clean, perhaps you could add it. I hope I am explaining myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions