r/functionalprogramming • u/kichiDsimp • Jul 08 '25
Question why not Lisp/Haskell used for MachineLearning/AI
i have a course on topic of AI: Search Methods and it the instructor told about Lisp, found out it was a func-lang, also told about functions like car & cdr why in the real world of AI/ML func-langs aren't adopted more when they naturally transfom to operations like, map->filter->reduce->functions
am I missing something ?
56
Upvotes
View all comments
Show parent comment
3
u/funbike Jul 10 '25 edited Jul 10 '25
You have such wonderful responses ITT.
However, couldn't these concepts be bridged? For example, Anthropic reverse engineered Claude and discovered it amazingly invented it's own calculator. It would be interesting to somehow patch a real caclulator at that point in the model. Of course tools / function calling can achive the same, but less efficiently.
Similar to the calculator a theorem prover embedded into the model would be immensely useful for math, category theory, software code generation, and problem solving. I experimented with Rocq (formerly Coq) to validate algorithms before generating Typescript source code, but there wasn't enough training for the LLM to produce correct Rocq/Coq syntax.
(I am not an academic. I just have a 30 year old CS degree)