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

Expression form basics

Open geoffromer opened this issue 5 months ago • 0 comments

This proposal introduces the concept of a form, which is a generalization of "type" that encompasses all of the information about an expression that's visible to the type system, including type and expression category. Forms can be composed into tuple forms and struct forms, which lets us track the categories of individual tuple and struct literal elements.

geoffromer avatar May 27 '25 23:05 geoffromer