encyclopegia.org

FP (programming language)

FP (for functional programming) is a programming language created by John Backus to support the function-level programming paradigm. It allows building programs from a set of generally useful language primitives and avoiding named variables (a style also called tacit programming or "point free"). It was heavily influenced by APL developed by Kenneth E. Iverson in the early 1960s. The FP language was introduced in Backus's 1977 Turing Award paper, "Can programming be liberated from the von Neumann style?: a functional style and its algebra of programs". The paper sparked interest in functional programming research, eventually leading to modern functional languages, which are largely founded on the lambda calculus paradigm, and not the function-level paradigm Backus had hoped. In his Turing award paper, Backus described how the FP style is different: FP was used little beyond academia. In the 1980s, Backus created a successor language, FL, as an internal project at IBM Research.

FP (for functional programming) is a programming language created by John Backus to support the function-level programming paradigm. It allows building programs from a set of generally useful language primitives and avoiding named variables (a style also called tacit programming or "point free"). It was heavily influenced by APL developed by Kenneth E. Iverson in the early 1960s. The FP language was introduced in Backus's 1977 Turing Award paper, "Can programming be liberated from the von Neumann style?: a functional style and its algebra of programs". The paper sparked interest in functional programming research, eventually leading to modern functional languages, which are largely founded on the lambda calculus paradigm, and not the function-level paradigm Backus had hoped. In his Turing award paper, Backus described how the FP style is different: FP was used little beyond academia. In the 1980s, Backus created a successor language, FL, as an internal project at IBM Research. 〈x 1 ,...,⊥,...,x n 〉 = ⊥ FP programs are functions f that each map a single value x into another: f:x represents the value that results from applying the function f to the value x Functions are either primitive (i.e., provided with the FP environment) or are built from the primitives by program-forming operations (also called functionals). An example of primitive function is constant, which transforms a value x into the constant-valued function x̄. Functions are strict: f:⊥ = ⊥ Another example of a primitive function is the selector function family, denoted by 1,2,... where: i:〈x 1 ,...,x n 〉 = x i if 1 ≤ i ≤ n = ⊥ otherwise ==Functionals== In contrast to primitive functions, functionals operate on other functions. For example, some functions have a unit value, such as 0 for addition and 1 for multiplication. The functional unit produces such a value when applied to a function f that has one: unit + = 0 unit × = 1 unit foo = ⊥ These are the core functionals of FP: composition f∘g where f∘g:x = f:(g:x) construction [f 1 ,...,f n ] where [f 1 ,...,f n ]:x = 〈f 1 :x,...,f n :x〉 condition (h ⇒ f;g) where (h ⇒ f;g):x = f:x if h:x = T insert-right /f where /f:〈x〉 = x and /f:〈x 1 ,x 2 ,...,x n 〉 = f:〈x 1 ,/f:〈x 2 ,...,x n 〉〉 and /f:〈 〉 = unit f insert-left \f where \f:〈x〉 = x and \f:〈x 1 ,x 2 ,...,x n 〉 = f:〈\f:〈x 1 ,...,x n-1 〉,x n 〉 and \f:〈 〉 = unit f ==Equational functions== In addition to being constructed from primitives by functionals, a function may be defined recursively by an equation, the simplest kind being: f ≡ Ef where Ef is an expression built from primitives, other defined functions, and the function symbol f alone, using functionals. ==FP84== FP84 is an extension of FP to include infinite sequences, programmer-defined combining forms (analogous to those that Backus added to FL, his successor to FP), and lazy evaluation. Unlike FFP, another one of Backus' own variations on FP, FP84 makes a clear distinction between objects and functions: i.e., the latter are no longer represented by sequences of the former. FP84's extensions are enabled by removing the FP restriction that sequence construction be applied to only non-⊥ objects: in FP84 the entire universe of expressions (including those which meaning is ⊥) is closed under sequence construction. FP84's semantics are embodied in an underlying algebra of programs, a set of function-level equalities that may be used to manipulate and reason about programs. ==References== Sacrificing simplicity for convenience: Where do you draw the line?, John H. Williams and Edward L. Wimmers, IBM Almaden Research Center, Proceedings of the Fifteenth Annual ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages, San Diego, CA, January 1988. ==External links== FP-Interpreter written in Delphi–Lazarus Dirk Gerrits: Turing Award lecture (1977-1978) ff, in John W. Backus (Publications) FP84 vs FL: Sacrificing simplicity for convenience: Where do you draw the line? J.H. William and E.L. Wimmers, 1988 (Pages 169–179)

References

  1. Interview with Simon Peyton-Jones · retrieved 2026-11-17 · rev 1338408744
    Cite this reference

    MLA "Interview with Simon Peyton-Jones." Yang, Jean (2017). 2026-11-17. https://www.cs.cmu.edu/~popl-interviews/peytonjones.html. Accessed 24 November 2026.

    Chicago "Interview with Simon Peyton-Jones." Yang, Jean (2017). 2026-11-17. https://www.cs.cmu.edu/~popl-interviews/peytonjones.html.

    APA Yang, Jean (2017). (2026). Interview with Simon Peyton-Jones. Retrieved November 24, 2026, from https://www.cs.cmu.edu/~popl-interviews/peytonjones.html

  2. Can programming be liberated from the von Neumann style?: a functional style and its algebra of programs · retrieved 2026-11-17 · rev 1338408744
    Cite this reference

    MLA "Can programming be liberated from the von Neumann style?: a functional style and its algebra of programs." a b c Backus, John (1 August 1978). 2026-11-17. https://doi.org/10.1145%2F359576.359579. Accessed 24 November 2026.

    Chicago "Can programming be liberated from the von Neumann style?: a functional style and its algebra of programs." a b c Backus, John (1 August 1978). 2026-11-17. https://doi.org/10.1145%2F359576.359579.

    APA a b c Backus, John (1 August 1978). (2026). Can programming be liberated from the von Neumann style?: a functional style and its algebra of programs. Retrieved November 24, 2026, from https://doi.org/10.1145%2F359576.359579

  3. The Conception, Evolution, and Application of Functional Programming Languages Archived 2016-03-11 at the Wayback Machine Paul Hudak, 1989 Wikipedia revision 1338408744, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1338408744
    Cite this reference

    MLA "The Conception, Evolution, and Application of Functional Programming Languages Archived 2016-03-11 at the Wayback Machine Paul Hudak, 1989 Wikipedia revision 1338408744, retrieved 2026-11-18." The Conception, Evolution, and Application of Functional Programming Languages Archived 2016-03-11 at the Wayback Machin. 2026-11-17. https://dl.acm.org/doi/10.1145/72551.72554. Accessed 24 November 2026.

    Chicago "The Conception, Evolution, and Application of Functional Programming Languages Archived 2016-03-11 at the Wayback Machine Paul Hudak, 1989 Wikipedia revision 1338408744, retrieved 2026-11-18." The Conception, Evolution, and Application of Functional Programming Languages Archived 2016-03-11 at the Wayback Machin. 2026-11-17. https://dl.acm.org/doi/10.1145/72551.72554.

    APA The Conception, Evolution, and Application of Functional Programming Languages Archived 2016-03-11 at the Wayback Machin. (2026). The Conception, Evolution, and Application of Functional Programming Languages Archived 2016-03-11 at the Wayback Machine Paul Hudak, 1989 Wikipedia revision 1338408744, retrieved 2026-11-18. Retrieved November 24, 2026, from https://dl.acm.org/doi/10.1145/72551.72554

  4. Association for Computing Machinery A. M. Turing Award · retrieved 2026-11-17 · rev 1338408744
    Cite this reference

    MLA "Association for Computing Machinery A. M. Turing Award." "Association for Computing Machinery A. 2026-11-17. http://signallake.com/innovation/JBackus032007.pdf. Accessed 24 November 2026.

    Chicago "Association for Computing Machinery A. M. Turing Award." "Association for Computing Machinery A. 2026-11-17. http://signallake.com/innovation/JBackus032007.pdf.

    APA "Association for Computing Machinery A. (2026). Association for Computing Machinery A. M. Turing Award. Retrieved November 24, 2026, from http://signallake.com/innovation/JBackus032007.pdf

  5. Functional Programming Archaeology · retrieved 2026-11-17 · rev 1338408744
    Cite this reference

    MLA "Functional Programming Archaeology." Hague, James (December 28, 2007). 2026-11-17. http://prog21.dadgum.com/14.html. Accessed 24 November 2026.

    Chicago "Functional Programming Archaeology." Hague, James (December 28, 2007). 2026-11-17. http://prog21.dadgum.com/14.html.

    APA Hague, James (December 28, 2007). (2026). Functional Programming Archaeology. Retrieved November 24, 2026, from http://prog21.dadgum.com/14.html

Cite this article

MLA

"FP (programming language)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/fp-programming-language. Accessed 24 November 2026.

Chicago

"FP (programming language)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/fp-programming-language.

APA

encyclopegia.org. (2026). FP (programming language). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/fp-programming-language

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

K (programming language)

enwiki · references available

Factor (programming language)

enwiki · references available

Swan Hunter

enwiki · references available

Rear of the Year

enwiki · references available

Royal Edinburgh Military Tattoo

enwiki · references available

Colin Clarke (footballer, born 1962)

enwiki · references available

USS Stringham (DD-83)

enwiki · references available

Iberian language

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1338408744 · 0.5 · snapshot enwiki-001338408744

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.