r/functionalprogramming • • Apr 29 '25

Question Is Lisp Functional?

Do you guys consider lisp languages (CL in particular) to be functional? Of course they can be used functionally, but they also have some OOP qualities. Do you CALL them functional or multi-paradigm?

39 Upvotes

61 comments sorted by

View all comments

Show parent comment

2

u/MonadTran Apr 30 '25

Hmm... Interesting. I'm not sure if at that point it's even a Lisp anymore, but yep, good to know somebody is trying to add static typing.

5

u/stylewarning Apr 30 '25

I mean, it is Common Lisp, very literally. It just depends on a library written in Common Lisp.

You can load it like any other Common Lisp code, compile it like any other Common Lisp code, and call it (with zero overhead) from any other Common Lisp code.

This is an example of some code.

4

u/church-rosser Apr 30 '25

It's absolutely a Lisp. Just because functional purists dont like that CL can do this, doesn't make it any less true that it can and it does.