Commit57536865Recorded25 Feb 2026Repositorysigil-sqlite
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/sqlite.sgl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)Diff
src/sigil/sqlite.sglmodified
@@ -284,7 +284,7 @@
284
;;; ; => ((id . 1) (name . "Alice") (email . "[email protected]")) 285
;;; ``` 286
(define (sqlite-query-row db sql . params)−287
(: sqlite-db? string? any? ... -> any?)+287
(: sqlite-db? string? any? ... -> (maybe list?)) 288
(let ((rows (apply sqlite-query db sql params))) 289
(if (null? rows) 290
#f