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

8

u/Risc12 Apr 29 '25

Now I’m thinking about it, it’s actually quite weird that people expect strong static typing when FP is mentioned. Lambda-calculus, arguably the foundation of FP does not have types

6

u/[deleted] Apr 30 '25

On the other hand adding simple types to the lambda calculus is kinda of page 2 in studying it (in order to rule out divergent combinators, terms that have no normal form, you add types to the calculus).

And much of FP’s history is intertwined with type theory since ML the family started as the meta language of a proof assistant.

3

u/hopingforabetterpast Apr 30 '25

Untyped lambda calculus doesn't have types. It's fairly useless wrt programming.

While functional programming draws heavy inspiration from LC, it's not just about it.