Uniqueness type

   

In computing, a unique type guarantees that an object is used in a single-threaded way, without duplicating references to it. If a value has a unique type it can be modified in place improving the efficiency of functional languages while maintaining their referential transparency. Unique types can also be used to integrate functional and imperative programming languages.

Uniqueness types are implemented in the functional programming languages Clean and Mercury.

A theory of uniqueness types has been proposed by Dana Harrington in his master thesis.

See also

External link

Retrieved from "http://www.mywiseowl.com/articles/Uniqueness_type"

This page has been accessed 56 times. This page was last modified 18:43, 20 Oct 2004. All text is available under the terms of the GNU Free Documentation License (see Copyrights for details).