carbon-lang icon indicating copy to clipboard operation
carbon-lang copied to clipboard

Document user-defined sum types in `docs/design`

Open geoffromer opened this issue 3 years ago • 0 comments
trafficstars

The "choice types" portion of p0157 is now documented in docs/design, but the design for user-defined sum types exists only in the proposal document. That's a problem because it's not very discoverable, and it can't be kept up to date since proposal docs are "frozen" (for example, it uses the old Type: value binding syntax instead of value: Type).

geoffromer avatar Jul 28 '22 18:07 geoffromer