semen: fix premature negative cases merge hehe #33

Merged
alex-eg merged 1 commits from pkulev/sex:feature/docstrings into main 2026-09-22 23:13:33 +02:00
Showing only changes of commit d0e2c699e3 - Show all commits

View File

@@ -296,8 +296,9 @@
"The `form` must be toplevel.
Returns #f if the form is not a function, returns the form otherwise"
(match form
((fn . _) form)
((pub fn . _) form)
((or ('fn . _)
('pub 'fn . _)
('extern 'fn . _)) form)
(else #f)))
(define (sex-fn-public? fn-form)