list
¶
Centralize the small IRX-side list layout contract plus the AST-type helpers shared by semantic analysis and lowering.
Functions:
list_element_type
¶
list_element_type(
type_: DataType | None,
) -> DataType | None
Source code in src/irx/builtins/collections/list.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | |
list_has_concrete_element_type
¶
list_has_concrete_element_type(
type_: DataType | None,
) -> bool
Source code in src/irx/builtins/collections/list.py
43 44 45 46 47 48 49 50 51 52 53 | |