Files
rose-ash/lib
giles 75130876c7
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Fix compiler: handle clause-syntax cond — (cond (test body) ...)
compile-cond expected flat syntax (cond test body test body ...) but
hs-parse uses clause syntax (cond (test body) (test body) ...). The
compiler treated the whole clause as the test expression, compiling
((and ...) (do ...)) as a function call — which tried to call the
and-result as a function, producing "not callable: false" JIT errors.

Now detects clause syntax (first arg is a list whose first element is
also a list) and flattens to the expected format before compilation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 14:34:16 +00:00
..