Array.new_balanced: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/storage/array.bend as Array Lines 14-19 of bendtorch-core@0.1.0.0/src/storage/array.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/storage/array.bend&start_line=14&end_line=19 import Base import bendtorch-core@0.1.0.0/src/storage/model.bend as Model def new_balanced(-T: Data, +d: Nat, +value: T) -> Model.Balanced(T, d, Array.new(T, d, value)): match d: case 0n: Unit{} case 1n++p: (new_balanced(T, p, value), new_balanced(T, p, value)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.new https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/storage/model.bend&name=Balanced