functional programming meaning

  "functional programming" in a sentence
<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.

or the same


More:   Next
  1. functional programming with curried closures
  2. a good starting point for functional programming is the
  3. for the functional programming language haskell
  4. the haxml functional programming model for xml
  5. functional programming in python, part 1

Related Words

  1. functional mris meaning
  2. functional organization meaning
  3. functional orthodontic appliance meaning
  4. functional orthodontic appliances meaning
  5. functional program meaning
  6. functional programming language meaning
  7. functional programming languages meaning
  8. functional programs meaning
  9. functional requirements meaning
  10. functional residual capacities meaning
PC Version