Parser: skip unit suffix when next ident is a comparison keyword (starts, ends, contains, matches, is, does, in, precedes, follows). Fixes "123 starts with '12'" returning "123starts" instead of true. eval-hs: use hs-compile directly instead of hs-to-sx-from-source with "return " prefix, which was causing the parser to consume the comparison as a string suffix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
339 B
Plaintext
15 lines
339 B
Plaintext
(defcomp
|
|
(&key (title :as string) (headers :as list))
|
|
(~docs/headers-table
|
|
:title title
|
|
:rows (<>
|
|
(map
|
|
(fn
|
|
(h)
|
|
(~docs/headers-row
|
|
:name (get h "name")
|
|
:value (get h "value")
|
|
:description (get h "desc")
|
|
:href (get h "href")))
|
|
headers))))
|