BoundedNatParam

Contents

BoundedNatParam#

class hugr.tys.BoundedNatParam(upper_bound: int | None)[source]#

Bases: TypeParam

A type parameter indicating a natural number with an optional upper bound.

Methods

Attributes

upper_bound