Commita4e9b894Recorded25 Feb 2026Repositorysigil-sxml

Review and fix procedure specs against CLAUDE.md conventions

Message

- list.sgl: Add missing return types to 6 specs (list-for-each, list-fold, list-fold-right, list-find, list-find-index, list-index) - struct.sgl: Add missing return type to struct-type-of, use (maybe struct-type?) for struct-type-parent - array.sgl, sxml.sgl, markdown.sgl, sqlite.sgl: Use (maybe ...) instead of bare any? for nullable return values - http/client.sgl: Add missing keyword arg specs to all 10 HTTP methods - http/server.sgl, http/response.sgl: Add missing keyword arg specs - app.sgl: Use specific return type number? for wait-frame - error.sgl: Add rest arg spec for format-stack-trace

Changed
 src/sigil/sxml.sgl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Diff
src/sigil/sxml.sglmodified
@@ -157,7 +157,7 @@
157
;;; (sxml-attr-ref '(div (@ (id "main"))) 'class) ; => #f
158
;;; ```
159
(define (sxml-attr-ref elem attr-name)
160
(: list? symbol? -> any?)
+160
(: list? symbol? -> (maybe any?))
161
(let ((attrs (sxml-attributes elem)))
162
(let loop ((attrs attrs))
163
(cond