Functional programming – Computing Reference – eLook.org


Functional programming



<programming> (FP) A program in a functional language consists of a set of (possibly recursive) function definitions and an expression whose value is output as the program’s result. Functional languages are one kind of declarative language. They are mostly based on the typed lambda-calculus with constants.

There are no side-effects to expression evaluation so an expression, e.g. a function applied to certain arguments, will always evaluate to the same value (if its evaluation terminates).

Furthermore, an expression can always be replaced by its value without changing the overall result (referential transparency).

The order of evaluation of subexpressions is determined by the language’s evaluation strategy.

In a strict (call-by-value) language this will specify that arguments are evaluated before applying a function whereas in a non-strict (call-by-name) language arguments are passed unevaluated.

Programs written in a functional language are generally compact and elegant, but have tended, until recently, to run slowly and require a lot of memory.

Examples of purely functional languages are Clean, FP, Haskell, Hope, Joy, LML, Miranda, and SML.

Many other languages such as Lisp have a subset which is purely functional but also contain non-functional constructs.

See also lazy evaluation, reduction.

Lecture notes (ftp://ftp.cs.olemiss.edu/pub/tech-reports/umcis-1995-01.ps). or the same in dvi-format (ftp://ftp.cs.olemiss.edu/pub/tech-reports/umcis-1995-01.dvi).

FAQ (http://www.cs.nott.ac.uk/Department/Staff/gmh/faq.html).

SEL-HPC Article Archive (http://www.lpac.ac.uk/SEL-HPC/Articles/).

< Previous Terms Terms Containing functional programming Next Terms >
functional database
functional dependency
functionality
functional language
functional program
A#
algebraic data type
Algebraic Logic Functional language
ALLOY
Amanda
functional programming language
functional requirements
functional specification
functional testing
functional unit

Best casinos
Glory Casino is one of Bangladesh's most prominent and generous online casinos, with 3,000+ slots and live games from top providers. Beginner-friendly and mobile-ready, it offers big welcome bonuses, fast payouts, and fair winning odds.
Wintomic Casino offers a calm, well-structured gaming experience with a wide range of quality slots and live games from trusted providers. With secure SSL encryption, fair RNG play, and clear bonus terms, it's built for smooth, reliable fun.
Play the best casino games on Banger Casino across mobile and desktop and win real money! Enjoy a massive slots library, live dealers, and table games, plus a 125% welcome bonus up to €250 under a valid Curaçao license. Sign up today.
Divine Casino delivers a secure, stylish gaming experience with thousands of slots, live dealers, crash games, and sports betting. Claim a generous welcome bonus with free spins, enjoy fast withdrawals, and play with 24/7 support.

© Copyright 2026 Elook.org
Powered by WordPress | Mercury Theme