ToolCall.TypeExpr.Compiler (ToolCall v0.4.0)

Copy Markdown

Lowers ToolCall.TypeExpr into ToolCall.IR.Type.

Provider resolution, struct markers, and union normalization happen here, so the type expression itself can stay source-neutral and unresolved.

Summary

Functions

to_type(expression, providers)

@spec to_type(ToolCall.TypeExpr.t(), [module()]) :: ToolCall.IR.Type.t()