Rex (language)
Wikipedia, the free encyclopedia - Cite This Sourcerex 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
Wikipedia, the free encyclopedia © 2001-2006 Wikipedia contributors (Disclaimer)
This article is licensed under the GNU Free Documentation License.
Last updated on Sunday September 23, 2007 at 23:40:28 PDT (GMT -0700)
View this article at Wikipedia.org - Edit this article at Wikipedia.org - Donate to the Wikimedia Foundation