Combinator – Computing Reference – eLook.org


Combinator



<theory> A function with no free variables.

A term is either a constant, a variable or of the form A B denoting the application of term A (a function of one argument) to term B.

Juxtaposition associates to the left in the absence of parentheses.

All combinators can be defined from two basic combinators – S and K.

These two and a third, I, are defined thus:

S f g x = f x (g x) K x y = x I x = x = S K K x

There is a simple translation between combinatory logic and lambda-calculus.

The size of equivalent expressions in the two languages are of the same order.

Other combinators were added by David Turner in 1979 when he used combinators to implement SASL:

B f g x = f (g x) C f g x = f x g S’ c f g x = c (f x) (g x) B* c f g x = c (f (g x)) C’ c f g x = c (f x) g

See fixed point combinator, curried function, supercombinators.

< Previous Terms Terms Containing combinator Next Terms >
Column Address Strobe
COM
com
COMAL
combination
bracket abstraction
Charme
combination
combinator
combinatory logic
combinatory logic
Comdex
COME FROM
COMIS
COMIT
Read More
2 weeks ago
37
2 weeks ago
25
2 weeks ago
28

New Casinos
Best online casino games on Banger.casino! Play on mobile apps or desktop and win real money. ✓ Get your welcome bonus +125% UP TO €250 right now!

© Copyright 2024 | Elook.org