Skip to content
EntityQ1322511· pop 14· linked from 163 articles

代数的データ型

Sign in to save

Also known as ADT

in computer programming, a type formed by combining other types

Wikidata facts

Subclass of
data type
Show 2 more facts
studied by
type theory
different from
abstract data type
Sources (1)

via Wikidata · CC0

Article · 日本語

代数的データ型(だいすうてきデータがた、英: algebraic data type)とはプログラミング、特に関数型プログラミングや型システムにおいて使われるデータ型である。それぞれの代数的データ型の値には、1個以上のコンストラクタがあり、各コンストラクタには0個以上の引数がある。 代数的データ型の値(データ)の感覚的な説明としては、引数で与えられた他のデータ型の値を、コンストラクタで包んだようなもの、である。コンストラクタに引数がある代数データ型は複合型(他のデータ型を組み合わせて形成する型)である。

Abstract from DBpedia / Wikipedia · CC BY-SA