|
`(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.
flute/src/flute.lisp
Line 133 in 3138f7f
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
&keyargs. You would still&allow-other-keysand 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.