▲ | sshine 5 days ago | |
> terser languages don't work all that well with LLMs I’d believe that, but I haven’t tried enough yet. It seems to be doing quite well with jq. I wonder how its APL fares. When Claude generates Haskell code, I constantly want to reduce it. Doing that is a very mechanical process; I wonder if giving an agent a linter would give better results than overloading it all to the LLM. | ||
▲ | gylterud 4 days ago | parent | next [-] | |
I usually treat the LLM generated Haskell code as a first draft. The power of Haskell in this case is the fearless refactoring the strong type system enables. So even if the code generated is not beautiful, it can sit there and do a job until the surrounding parts have taken shape, and then be refactored into something nice when I have a moment to spare. | ||
▲ | willhslade 4 days ago | parent | prev | next [-] | |
Apl is executed right to left and LLMS.... Aren't. | ||
▲ | Vosporos 4 days ago | parent | prev [-] | |
Can't you just run HLint on it? |