MachineLimits.extend_metadata_word: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/machine_limits.bend as MachineLimits Lines 14-17 of stelliferous@0.0.2.0/machine_limits.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/machine_limits.bend&start_line=14&end_line=17 import Base def extend_metadata_word(width: Nat,word: Word(width)) -> Word(Nat.add(width,16n)): match width word: case 0n WNil{}: Word.zero(16n) case 1n+rest WCon{bit,tail}: WCon{bit,extend_metadata_word(rest,tail)} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.zero