u/dosomethinghard

Which Functional language is best for AI assisted development?

Which Functional language is best for AI assisted development?

What FP languages work best with AI agent driven development, and what tools/skills/mcps make the most difference in your workflow?

Everyone knows that an LLM will choose TS or Python if you don't prompt it towards another tool. But this doesn't bring much joy.

But something about a dynamic fp, or a strongly typed ML just brings more joy when it comes to reading the generated code.

However -- my experiments with FP and Claude code have been less than ideal. I found that Ocaml/Clojure will overall spend about 10x the tokens iterating on a solution until it is correct.

There are some really promising signs though -- the clojure-mcp-light parenthesis edit and nrepl utility make an objective improvement in terms of overall quality. I saw 2x the number of tests written, and overall what I think is a more concise and correct solution.

I love picking up new languages, and I am very interested in testing MCP's and skills which can actually objectively improve the quality of a solution, so really I want to have some recommendations on what languages to try next :)

u/dosomethinghard — 1 day ago