|
|
|
|
|
by milesrout
440 days ago
|
|
No, functions aren't first class in C. When you use a function in an expression it undergoes lvalue conversion and "decays" to a pointer to the function. You can only call, store, etc function pointers, not functions. Function pointers are first class. Functions are not as you can't create them at runtime. A functional programming language is one with first class functions. |
|
Last I checked when you implement lambda in lisp it's also a pointer to the lambda internally.