Rex (language)

Rex (language)

rex is a functional programming language developed by Robert M. Keller for use in teaching functional programming to Harvey Mudd College students.

Example

The "Hello World" of functional languages is the factorial function. Expressed in rex:

factorial(0) => 1; factorial(X) => X * factorial(X-1);

The name "rex" derives from "rewriting expressions", which is the basic principle underlying the implementation: replace an instantiation of an expression on the left-hand side of a rule with the instantiated right-hand side.

External links

* [http://www.cs.hmc.edu/~keller/rex/ Documentation for the rex Language and Interpreter]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Rex — is the Latin word for king (see also King of Rome). Rex is an English male given name.Rex may also refer to:PeoplePolitics* Rex Connor (1907 1977), Australian politician * Rex Hunt (governor) (1926), former British Governor of the Falkland… …   Wikipedia

  • Rex Gilroy — (born in New South Wales, Australia) is an Australian who has published books and articles on cryptids and unexplained or speculative phenomena. His work has focused on yowie reports, out of place animals, UFOs, and propositions regarding a lost… …   Wikipedia

  • Rex Gildo — (July 2 1936 October 26 1999) was a German singer of Schlager ballads who reached the height of his popularity in the 1960s and 1970s, selling over 25 million records and starring in film and television roles.cite news last = Blom first = Phillip …   Wikipedia

  • Rex am Ring — Das Rex Am Ring in Köln ist eines der ältesten deutschen Kinos. Es wird betrieben von der Rex Lichtspieltheater GmbH. Geschichte Das Kino wurde 1928 am Friesenplatz unter dem Namen Lichtspiele des Westens als letzter großer Neubau der… …   Deutsch Wikipedia

  • Rex Crawford — (born 25 February 1932 in Detroit, Michigan, United States) was a member of the Canadian House of Commons from 1988 to 1997. By career, he was a farmer.He first campaigned for a seat in Canadian Parliament during the 1988 federal election, as a… …   Wikipedia

  • Rex Gibson — Dr Rex Gibson (29 October 1932, Bristol 1 May 2005, Cambridge) was an English academic writing on the theatre. He is best known for his creation and editing of the Cambridge School Shakespeare series, for which he was given the first Sam… …   Wikipedia

  • Rex Nan Kivell — Nan Kivell, Sir Rex de Charembac KCMG (8 April 1898 – 7 June 1977) was a New Zealand born British art collector.Nan Kivell was born Reginald Nankivell in Christchurch, New Zealand. He was raised in the home of his maternal grandparents, George… …   Wikipedia

  • REX-Maschinenbaugesellschaft — Ehemalige Fahrradfabrik Frischauf, Reproduktion vom Briefkopf der Firma Die Frischauf Fahrradfabrik war ein durch den Arbeiter Radfahrerbund Solidarität im Jahr 1912 in Offenbach am Main gegründetes und genossenschaftlich organisiertes… …   Deutsch Wikipedia

  • REX — King (International » Latin) * Deutscher Rentenindex (Business » General) * Reynosa, Mexico (Regional » Airport Codes) * Oracle Report definition (Computing » File Extensions) * REXX Environmental Corporation (Business » AMEX Symbols) * Rear… …   Abbreviations dictionary

  • Basque language — Language spoken by an estimated 1,000,000 Basque people living in the Basque Country of north central Spain and southwestern France. About 200,000 Basques live in other parts of the world. The only remnant of the languages spoken in western… …   Universalium

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”