Uniqueness Type
In computing, a unique type guarantees that an object is used in a single-threaded way, with at most a single reference to it. If a value has a unique type, a function applied to it can be optimized to update the value in-place in the object code. In-place updates improve the efficiency of functional languages while maintaining referential transparency. Unique types can also be used to integrate functional and imperative programming.
Read more about Uniqueness Type: Introduction, Programming Languages, Relationship To Linear Typing
Famous quotes containing the words uniqueness and/or type:
“Until now when we have started to talk about the uniqueness of America we have almost always ended by comparing ourselves to Europe. Toward her we have felt all the attraction and repulsions of Oedipus.”
—Daniel J. Boorstin (b. 1914)
“People forget that it is the eye that makes the horizon, and the rounding minds eye which makes this or that man a type or representative of humanity with the name of hero or saint.”
—Ralph Waldo Emerson (18031882)