Croma.TypeUtil (croma v0.12.0)

View Source

Utilities to work with internal representation of types.

Summary

Functions

fetch_spec_info_at_compile_time(module)

fetch_type_info_at_compile_time(module, kind)

list_to_type_union(list)

resolve_primitive(module, name, env)

@spec resolve_primitive(module(), atom(), Macro.Env.t()) :: {:ok, atom()} | :error