Commitde9c7a42Recorded25 Feb 2026Repositorysigil-markdown
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/markdown.sgl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)Diff
src/sigil/markdown.sglmodified
@@ -129,7 +129,7 @@
129
;;; 130
;;; Returns `(key . value)` or `#f`. 131
(define (parse-yaml-line line)−132
(: string? -> any?)+132
(: string? -> (maybe pair?)) 133
(let ((colon-pos (string-index line (lambda (c) (eq? c #\:))))) 134
(if colon-pos 135
(let* ((key (string-trim (substring line 0 colon-pos)))