TypeArg#
- class hugr.tys.TypeArg(*args, **kwargs)[source]#
Bases:
Protocol
A HUGR type argument, which can be bound to a :class:TypeParam.
Methods
Resolve types in the argument using the given registry.
- resolve(registry: ext.ExtensionRegistry) TypeArg [source]#
Resolve types in the argument using the given registry.