OpDefSig#
- class hugr.ext.OpDefSig(poly_func: PolyFuncType | FunctionType | None, binary: bool = False)[source]#
Bases:
object
Type signature of an
OpDef
.Methods
Attributes
The polymorphic function type of the operation (type scheme).
If no static type scheme known, flag indicates a computation of the signature.
- poly_func: PolyFuncType | None#
The polymorphic function type of the operation (type scheme).