Search notes:

First class function

First class functions have the ability to receive functions as arguments or to return functions. Thus, they are related to the mathematical concept of higher-order functions.
A Functional programming languages require to have first class functions.
A simple example of a first class function is map.

Misc

An example of a higher order function from the realm of calculus is the differential operator (d/dx) which returns the derivative (a function) from a given function.

See also

Functional programming

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/science/...', 1758206306, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/science/computer/Programming-paradigm/Functional-programming/First-class-function/index(47): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78