r/functionalprogramming • • 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 ?

54 Upvotes

66 comments sorted by

View all comments

Show parent comment

3

u/-Nyarlabrotep- Jul 09 '25

One tiny note, the function names are weird because they are historical and wouldn't have been weird back then. For example, car and cdr refer to the A-Register and D-Register on LISP machines.

2

u/Mission-Landscape-17 Jul 10 '25

The names car and cdr come from the IBM 704 mainframe. Lisp machines came much later.

2

u/-Nyarlabrotep- Jul 28 '25

Thanks for the correction. That was just before my era and it all becomes like a mist :)