An unofficial, read-only Hacker News reader. Join the beta →

I checked Clojure's core with Lean and found unreported bugs (opens external site)

238 points by encyclopedism 3 days ago | s.conao3.com | 84 comments on HN

View full thread · View on Hacker News

Comment thread (5)

  1. Have written millions of lines of lisp with LLMs (mostly clojure). I have never had this issue in any meaningful quantity comparable to forgetting ; or } (which happens, but is very rare and immediately fixed)
    Replies (2)
    1. IME small models definitely fail horribly with lisps. Qwen code and I think I tried 3.6 both choked on closing parens to the point they struggled to get anything at all to ever be syntactically correct.
      Replies (1)
      1. Finally, a justifiable reason to indent Lisp like C.
        Replies (1)
        1. i did this as a joke for fun www.margeux.com/studio.html
    2. I've not regularly run into LLMs generating braces wrong, but what they seem to do every damn day is get the boundaries of replacement regions wrong when using sed or python to make text substitutions, which shows up as unbalanced braces. I've always had a hard time getting consistent compliance when I tell them to use structural editing tools only.