ListConcatArg¶
- class hugr.tys.ListConcatArg(lists: list[TypeArg])[source]¶
Bases:
TypeArgSequence of lists to concatenate for a
ListParam.Methods
flattenRender the nested concatenated list arguments.
Resolve types in the argument using the given registry.
Convert the type argument to a model Term.
Attributes
lists- render(*, extension_version: bool = False, qualified_name: bool = False) str[source]¶
Render the nested concatenated list arguments.
- resolve(registry: ext.ExtensionRegistry) TypeArg¶
Resolve types in the argument using the given registry.