Logo
Unionpedia
Communication
Get it on Google Play
New! Download Unionpedia on your Android™ device!
Free
Faster access than browser!
 

First-class function

Index First-class function

In computer science, a programming language is said to have first-class functions if it treats functions as first-class citizens. [1]

63 relations: Anonymous function, APL syntax and symbols, Arrow (computer science), Boo (programming language), C Sharp (programming language), Callable object, Callback (computer programming), Chris Lattner, Clojure, Closure (computer programming), Code as data, Common Lisp, Cons, Continuation-passing style, Covariance and contravariance (computer science), Fexpr, First class, First-class citizen, First-class message, Funarg problem, Function composition (computer science), Function object, Function pointer, Function type, Functional programming, Higher-order function, Index of object-oriented programming articles, JavaScript, K (programming language), Lambda calculus, List of educational programming languages, List of programming languages for artificial intelligence, Loose coupling, Lout (software), Lua (programming language), Man or boy test, Map (higher-order function), MiniD, Miranda (programming language), ML (programming language), Non-local variable, Parser combinator, Partial application, Perl, PHP syntax and semantics, Polish notation, POP-11, Primitive data type, Procedural parameter, Procedural programming, ..., Purely functional programming, Python syntax and semantics, Racket (programming language), Record (computer science), Scheme (programming language), Scope (computer science), Scratch (programming language), Snap! (programming language), Strategy pattern, Swift (programming language), System U, Timeline of United States inventions (after 1991), Type signature. Expand index (13 more) »

Anonymous function

In computer programming, an anonymous function (function literal, lambda abstraction, or lambda expression) is a function definition that is not bound to an identifier.

New!!: First-class function and Anonymous function · See more »

APL syntax and symbols

The programming language APL is distinctive in being symbolic rather than lexical: its primitives are denoted by symbols, not words.

New!!: First-class function and APL syntax and symbols · See more »

Arrow (computer science)

In computer science, arrows or bolts are a type class used in programming to describe computations in a pure and declarative fashion.

New!!: First-class function and Arrow (computer science) · See more »

Boo (programming language)

Boo is an object-oriented, statically typed, general-purpose programming language that seeks to make use of the Common Language Infrastructure's support for Unicode, internationalization, and web applications, while using a Python-inspired syntax and a special focus on language and compiler extensibility.

New!!: First-class function and Boo (programming language) · See more »

C Sharp (programming language)

C# (/si: ʃɑːrp/) is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

New!!: First-class function and C Sharp (programming language) · See more »

Callable object

A callable object, in computer programming, is any object that can be called like a function.

New!!: First-class function and Callable object · See more »

Callback (computer programming)

In computer programming, a callback, also known as a "call-after" function, is any executable code that is passed as an argument to other code, which is expected to call back (execute) the argument at a given time.

New!!: First-class function and Callback (computer programming) · See more »

Chris Lattner

Chris Lattner (born 1978) is an American software developer, best known as the main author of LLVM and related projects, such as the compiler Clang and the programming language Swift.

New!!: First-class function and Chris Lattner · See more »

Clojure

Clojure (like "closure") is a dialect of the Lisp programming language.

New!!: First-class function and Clojure · See more »

Closure (computer programming)

In programming languages, a closure (also lexical closure or function closure) is a technique for implementing lexically scoped name binding in a language with first-class functions.

New!!: First-class function and Closure (computer programming) · See more »

Code as data

In computer science, the expressions code as data and data as code may refer to.

New!!: First-class function and Code as data · See more »

Common Lisp

Common Lisp (CL) is a dialect of the Lisp programming language, published in ANSI standard document ANSI INCITS 226-1994 (R2004) (formerly X3.226-1994 (R1999)).

New!!: First-class function and Common Lisp · See more »

Cons

In computer programming, is a fundamental function in most dialects of the Lisp programming language.

New!!: First-class function and Cons · See more »

Continuation-passing style

In functional programming, continuation-passing style (CPS) is a style of programming in which control is passed explicitly in the form of a continuation.

New!!: First-class function and Continuation-passing style · See more »

Covariance and contravariance (computer science)

Many programming language type systems support subtyping.

New!!: First-class function and Covariance and contravariance (computer science) · See more »

Fexpr

In Lisp programming languages, a fexpr is a function whose operands are passed to it without being evaluated.

New!!: First-class function and Fexpr · See more »

First class

First class (or 1st class, Firstclass) generally implies a high level of service, importance or quality.

New!!: First-class function and First class · See more »

First-class citizen

In programming language design, a first-class citizen (also type, object, entity, or value) in a given programming language is an entity which supports all the operations generally available to other entities.

New!!: First-class function and First-class citizen · See more »

First-class message

In object-oriented programming, a programming language is said to have first-class messages or dynamic messages if in a method call not only the receiving object and parameter list can be varied dynamically (i.e. bound to a variable or computed as an expression) but also the specific method invoked.

New!!: First-class function and First-class message · See more »

Funarg problem

In computer science, the funarg problem refers to the difficulty in implementing first-class functions (functions as first-class objects) in programming language implementations so as to use stack-based memory allocation of the functions.

New!!: First-class function and Funarg problem · See more »

Function composition (computer science)

In computer science, function composition (not to be confused with object composition) is an act or mechanism to combine simple functions to build more complicated ones.

New!!: First-class function and Function composition (computer science) · See more »

Function object

In computer programming, a function object is a construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax (a function parameter that can also be a function).

New!!: First-class function and Function object · See more »

Function pointer

A function pointer, also called a subroutine pointer or procedure pointer, is a pointer that points to a function.

New!!: First-class function and Function pointer · See more »

Function type

In computer science, a function type (or arrow type or exponential) is the type of a variable or parameter to which a function has or can be assigned, or an argument or result type of a higher-order function taking or returning a function.

New!!: First-class function and Function type · See more »

Functional programming

In computer science, functional programming is a programming paradigm—a style of building the structure and elements of computer programs—that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data.

New!!: First-class function and Functional programming · See more »

Higher-order function

In mathematics and computer science, a higher-order function (also functional, functional form or functor) is a function that does at least one of the following.

New!!: First-class function and Higher-order function · See more »

Index of object-oriented programming articles

This is a list of terms found in object-oriented programming.

New!!: First-class function and Index of object-oriented programming articles · See more »

JavaScript

JavaScript, often abbreviated as JS, is a high-level, interpreted programming language.

New!!: First-class function and JavaScript · See more »

K (programming language)

K is a proprietary array processing programming language developed by Arthur Whitney and commercialized by Kx Systems.

New!!: First-class function and K (programming language) · See more »

Lambda calculus

Lambda calculus (also written as λ-calculus) is a formal system in mathematical logic for expressing computation based on function abstraction and application using variable binding and substitution.

New!!: First-class function and Lambda calculus · See more »

List of educational programming languages

An educational programming language is a programming language that is designed mostly as an instrument for learning, and less as a tool for writing programs to perform work.

New!!: First-class function and List of educational programming languages · See more »

List of programming languages for artificial intelligence

Artificial intelligence researchers have developed several specialized programming languages for artificial intelligence.

New!!: First-class function and List of programming languages for artificial intelligence · See more »

Loose coupling

In computing and systems design a loosely coupled system is one in which each of its components has, or makes use of, little or no knowledge of the definitions of other separate components.

New!!: First-class function and Loose coupling · See more »

Lout (software)

Lout is a batch document formatter invented by Jeffrey H. Kingston.

New!!: First-class function and Lout (software) · See more »

Lua (programming language)

Lua (from meaning moon) is a lightweight, multi-paradigm programming language designed primarily for embedded use in applications.

New!!: First-class function and Lua (programming language) · See more »

Man or boy test

The man or boy test was proposed by computer scientist Donald Knuth as a means of evaluating implementations of the ALGOL 60 programming language.

New!!: First-class function and Man or boy test · See more »

Map (higher-order function)

In many programming languages, map is the name of a higher-order function that applies a given function to each element of a list, returning a list of results in the same order.

New!!: First-class function and Map (higher-order function) · See more »

MiniD

The MiniD programming language is a small, lightweight, extension language in the vein of Lua or Squirrel, but designed to be used mainly with the D programming language.

New!!: First-class function and MiniD · See more »

Miranda (programming language)

Miranda is a lazy, purely functional programming language designed by David Turner as a successor to his earlier programming languages SASL and KRC, using some concepts from ML and Hope.

New!!: First-class function and Miranda (programming language) · See more »

ML (programming language)

ML (Meta Language) is a general-purpose functional programming language.

New!!: First-class function and ML (programming language) · See more »

Non-local variable

In programming language theory, a non-local variable is a variable that is not defined in the local scope.

New!!: First-class function and Non-local variable · See more »

Parser combinator

In computer programming, a parser combinator is a higher-order function that accepts several parsers as input and returns a new parser as its output.

New!!: First-class function and Parser combinator · See more »

Partial application

In computer science, partial application (or partial function application) refers to the process of fixing a number of arguments to a function, producing another function of smaller arity.

New!!: First-class function and Partial application · See more »

Perl

Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages, Perl 5 and Perl 6.

New!!: First-class function and Perl · See more »

PHP syntax and semantics

The PHP syntax and semantics are the format (syntax) and the related meanings (semantics) of the text and symbols in the PHP programming language.

New!!: First-class function and PHP syntax and semantics · See more »

Polish notation

Polish notation (PN), also known as normal Polish notation (NPN), Łukasiewicz notation, Warsaw notation, Polish prefix notation or simply prefix notation, is a mathematical notation in which operators precede their operands, in contrast to reverse Polish notation (RPN) in which operators follow their operands.

New!!: First-class function and Polish notation · See more »

POP-11

POP-11 is a reflective, incrementally compiled programming language with many of the features of an interpreted language.

New!!: First-class function and POP-11 · See more »

Primitive data type

In computer science, primitive data type is either of the following.

New!!: First-class function and Primitive data type · See more »

Procedural parameter

In computing, a procedural parameter is a parameter of a procedure that is itself a procedure.

New!!: First-class function and Procedural parameter · See more »

Procedural programming

Procedural programming is a programming paradigm, derived from structured programming, based upon the concept of the procedure call.

New!!: First-class function and Procedural programming · See more »

Purely functional programming

In computer science, purely functional programming usually designates a programming paradigm—a style of building the structure and elements of computer programs—that treats all computation as the evaluation of mathematical functions.

New!!: First-class function and Purely functional programming · See more »

Python syntax and semantics

The syntax of the Python programming language is the set of rules that defines how a Python program will be written and interpreted (by both the runtime system and by human readers).

New!!: First-class function and Python syntax and semantics · See more »

Racket (programming language)

Racket (formerly PLT Scheme) is a general-purpose, multi-paradigm programming language in the Lisp-Scheme family.

New!!: First-class function and Racket (programming language) · See more »

Record (computer science)

In computer science, a record (also called a structure, struct, or compound data) is a basic data structure.

New!!: First-class function and Record (computer science) · See more »

Scheme (programming language)

Scheme is a programming language that supports multiple paradigms, including functional programming and imperative programming, and is one of the two main dialects of Lisp.

New!!: First-class function and Scheme (programming language) · See more »

Scope (computer science)

In computer programming, the scope of a name binding – an association of a name to an entity, such as a variable – is the region of a computer program where the binding is valid: where the name can be used to refer to the entity.

New!!: First-class function and Scope (computer science) · See more »

Scratch (programming language)

Scratch is a visual programming language and online community targeted primarily at children.

New!!: First-class function and Scratch (programming language) · See more »

Snap! (programming language)

Snap! is a free, blocks- and browser-based educational graphical programming language that allows students to create interactive animations, games, stories, and more, while learning about mathematical and computational ideas.

New!!: First-class function and Snap! (programming language) · See more »

Strategy pattern

In computer programming, the strategy pattern (also known as the policy pattern) is a behavioral software design pattern that enables selecting an algorithm at runtime.

New!!: First-class function and Strategy pattern · See more »

Swift (programming language)

Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, and Linux.

New!!: First-class function and Swift (programming language) · See more »

System U

In mathematical logic, System U and System U− are pure type systems, i.e. special forms of a typed lambda calculus with an arbitrary number of sorts, axioms and rules (or dependencies between the sorts).

New!!: First-class function and System U · See more »

Timeline of United States inventions (after 1991)

A timeline of United States inventions (after 1991) encompasses the ingenuity and innovative advancements of the United States within a historical context, dating from the Contemporary era to the present day, which have been achieved by inventors who are either native-born or naturalized citizens of the United States.

New!!: First-class function and Timeline of United States inventions (after 1991) · See more »

Type signature

In computer science, a type signature or type annotation defines the inputs and outputs for a function, subroutine or method.

New!!: First-class function and Type signature · See more »

Redirects here:

First Class Functions, First class function, First class functions, First class procedure, First class procedures, First-class functions, First-class procedure, Function reference.

References

[1] https://en.wikipedia.org/wiki/First-class_function

OutgoingIncoming
Hey! We are on Facebook now! »