By Letter: Non-alphabet | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
  Email this page to a friend


Discriminated union




<theory> The discriminated union of two sets A and B is

A + B = (inA, a) | a in A U (inB, b)| b in B

where inA and inB are arbitrary tags which specify which summand an element originates from.

A type (especially an algebraic data type) might be described as a discriminated union if it is a sum type whose objects consist of a tag to say which part of the union they belong to and a value of the corresponding type.



< Previous TermsTerms Containing discriminated unionNext Terms >
disconnect
Discordianism
discrete cosine transform
discrete Fourier transform
discrete preorder
algebraic data type
discriminated union
discussion group
Disiple
disjoint union
Disjunctive Normal Form
disk


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions