MathSequence.replicate: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/math_sequence.bend as MathSequence Lines 59-62 of stelliferous@0.0.2.0/math_sequence.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/math_sequence.bend&start_line=59&end_line=62 import Base def replicate(-Element: Data,length: Nat,+value: Element) -> Values(Element,length): match length: case 0n: Unit{} case 1n+rest: Elements{value,replicate(Element,rest,value)} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/math_sequence.bend&name=Elements https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/math_sequence.bend&name=Values