出典:Wiktionary
So named because they have algebraic properties with respect to their cardinality similar to normal integers.
algebraic data type (複数形 algebraic data types)
出典:Wikipedia
出典:『Wikipedia』 (2011/06/07 12:25 UTC 版)
In computer programming, particularly functional programming and type theory, an algebraic data type (sometimes also called a variant type) is a datatype each of whose values is data from other datatypes wrapped in one of the constructors of the datatype. Any wrapped datum is an argument to the constructor. In contrast to other datatypes, the constructor is not executed and the only way to operate on the data is to unwrap the constructor using pattern matching.