Typed AST holds the inferred types for every expression.
The main type of this module. Expression with location metadata.
Note the underlying Expr custom type recurses on this LocatedExpr type,
so that the children also each have their location metadata.
If you want expressions without location metadata, look at unwrap.
Differs from Canonical.Expr by:
Discard the location metadata.
Go from AST.Typed to AST.Canonical.
Transform the expression using the provided function. Start at the children, repeatedly apply on them until they stop changing, then go up.
Transform the expression once using the provided function. Start at the children, apply once then go up.
Find all the children of this expression (and their children, etc...)
"What does this compiler stage need to store abotut the whole project?
(See
Elm.Data.Project.)In this case, a dict of all the compiled Elm modules that hold typed AST expressions.