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/OptimizedGarbage Jul 12 '25
Most commercial models these days do have access to some set of external tools and databases through RAG. Giving it access to Z3 or something could definitely be useful for some applications, although they can be pretty slow.
As far as integration with dependently typed languages for formally checking the results, there's a lot of interest in that. Being able to guarantee that anything that compiles is correct allows you to trial-and-error your way to good results, and also gives the model feedback that you can use to train it. I'm currently working on doing this for the Lean theorem prover.