Re:Generate code for declarative language instead of program...
by habitue on Tuesday April 23, 2024 @02:35AM
(#40129141)
Exactly, generate Haskell. It's declarative and a programming language
[ Parent
| on HN ]
Re:Generate code for declarative language instead of program...
by kristianp on Tuesday April 23, 2024 @05:04PM
(#40137240)
I was thinking the same, although I don't think declarative is the best term. Purely functional may be better.
Would getting an llm to use a language like Haskell allow it to make less errors? I've had chat gpt make errors to do with state changes that maybe haskell or caml code can't have.