9
If I have a Haskell ADT such as:
data Foo
= A Int Double
| B Bool [Integer]
| C (Maybe String) Float
the A, B, and C are referred to as data constructors; and sometimes as value constructors. But what is the correct name for:
- a "row/alternative": e.g.
B Bool [Integer]; and - a "field/element" of a "row/alternative": e.g. the
DoubleinA, or the[Integer]inB?