Great library, thanks for writing and publishing it!
I wrote up a macro for my own usage that allows me to use CSS-style selectors for simple scalar selectors (i.e. div.foo, span#bar, or even div.foo:nth-child(3) but not compound things like div tr td) that lets me do this:
(css-selector :td.comment)
instead of this:
(s/and (s/tag "td") (s/class "comment"))
Is there any interest in merging something like that into the project? I can put together a PR if so.
Great library, thanks for writing and publishing it!
I wrote up a macro for my own usage that allows me to use CSS-style selectors for simple scalar selectors (i.e.
div.foo,span#bar, or evendiv.foo:nth-child(3)but not compound things likediv tr td) that lets me do this:(css-selector :td.comment)instead of this:
(s/and (s/tag "td") (s/class "comment"))Is there any interest in merging something like that into the project? I can put together a PR if so.