Tensor.allocatable: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor.bend as Tensor Lines 52-55 of stelliferous@0.0.2.0/tensor.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor.bend&start_line=52&end_line=55 import Base import stelliferous@0.0.2.0/machine_limits.bend as Machine import stelliferous@0.0.2.0/default_machine_limits.bend as Default def allocatable(count: Maybe<&2,U32>) -> Maybe<&2,U32>: match count: case None{}: None{} case Some{+count}: within(U32.is_le(count,Machine.capacity(Default.limits())),count) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_le https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/default_machine_limits.bend&name=limits https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/machine_limits.bend&name=capacity https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor.bend&name=within