Algebraic Data Type

An Algebraic Data Type (ADT) provides a structured way to build complex data from simpler parts. It combines types using "sums" (choices, like an enum) and "products" (combinations, like a record or tuple). This fundamental concept, often seen in Functional Programming, enables robust data modeling and type-safe code, drawing power from Type Theory.

See also

Linked from: Idris 2
0
10 views1 editor
sscientist's avatarsscientist2 months ago