def within
import bendtorch-core@0.1.0.0/src/shape/construct_proofs.bend as ConstructProofsimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
6def within(-dims: List<&2, Nat>, capacity: Shape.Capacity<dims>) -> Bool:
7 match capacity:
8 case Shape.Within{size, exact, bound}:
9 True{}
10 case Shape.Beyond{}:
11 False{}
Uses (4)
Used by (6)
- bendtorch-core@0.1.0.0/src/shape/construct_proofs:scale_within
- bendtorch-core@0.1.0.0/src/shape/construct_proofs:bound_within
- bendtorch-core@0.1.0.0/src/shape/construct_proofs:capacity_built
- bendtorch-core@0.1.0.0/src/shape/construct_proofs:capacity_complete
- bendtorch-core@0.1.0.0/src/shape/construct_proofs:step_within
- …