functional language

functional language

(language)
A language that supports and encourages functional programming.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

functional programming

A programming language that is based primarily on writing algorithms (functions). The syntax of functional programming (FP) is mathematical, and the languages are used for applications such as artificial intelligence and distributed networks, not typically for business data processing.

Experienced FP programmers generally have strong opinions about what constitutes essential FP features, as well as which languages are more FP-like than others. However, ask any of the IT professionals you know for a definition of FP, and you will likely get a range of responses, including "huh?" The reason is that traditional programming, known as "imperative programming," also uses functions (subroutines). In fact, every C program ever written is wrapped in a "main" function that encapsulates all the other functions the programmer writes. However, FP adheres to certain principles, including the following. See function.

Referential Transparency and No Side Effects
Referential transparency means that the function will always return the same value given the same set of inputs. Also called "no side effects," pure functions do not use data defined outside of the function, although a few functions in most programs deal with external events such as reading and writing a disk. Pure functions help to avoid errors in parallel operations. For example, in multithreading, data being changed in one executing thread can cause problems in another.

Higher-Order Functions
Functions can be treated like data, and higher-order functions can take other functions as parameters, enabling the called function to perform the algorithm in the function being passed to it.

Pattern Matching and Recursion
Instead of a series of if-then-else statements, a pattern matching statement compares an argument with a list to find a match. Recursion is a function that can call itself to repeat the processing on the next set of data. These capabilities as well as others attributed to FP can also be found in both imperative and object-oriented languages. See recursion.

FP Languages
LISP was the first functional programming language, followed by Erlang, Scheme, Haskell, OCaml, Scala, Clojure, F# and others.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
The recent USPTO guidelines, however, serve to provide greater clarity as to the functional language to be used in patent claims and include examples of patent claim limitations to assist with overcoming patentability rejections by the USPTO.
Bhasin presents a self-study textbook to the Python computer programming language, characterizing it as a strong, procedural, object-oriented, functional language named after Monty Python.
She recommends selecting classroom materials carefully and preferably working with frequently used functional language formulae, thus helping students to select appropriate answers for different situations.
The instructional procedure took into consideration his functional language needs, moving beyond the focus of acquisition for the sake of acquisition.
The approach, called functional language analysis (FLA), provides teachers with a set of practical tools for engaging students in systematically analysing the language patterns and discussing the meanings of these patterns in content area texts.
Arctic: A functional language for real-time control.
In other disciplines, such as the electronic arts, terms of art employ more functional language (e.g., resistors, processors), which may be applied broadly to multiple functions and therefore subject to multiple interpretations.
a lamp or other device." (117) The Supreme Court held the claim "invalid on its face" because of its functional language. (118) "The claim ...
The Development of Functional Language Ability through Learners' Participation in Communicative Events
Some children with ASDs develop language more or less normally but have a delay in socially functional language and rarely use language to initiate social interaction (Roge, 2003; Stone & CaroMartinez, 1990).

Full browser ?