CipherCore.lc.tab.path: def of bend-osdev-cipher-core@0.1.0.0 Import: import bend-osdev-cipher-core@0.1.0.0/cipher_core.bend as CipherCore Lines 300-306 of bend-osdev-cipher-core@0.1.0.0/cipher_core.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-cipher-core@0.1.0.0/cipher_core.bend&start_line=300&end_line=306 import Base # the bits of i (below 2^d) that pick its entry, most significant first def lc.tab.path(d: Nat, +i: U32) -> List<&2, Bool>: match d: case 0n: Nil{} case 1n+(+p): Con{U32.is_eq(lc.bit(i, p), 1), lc.tab.path(p, i)} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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_eq https://jend.leeeet.dev/definition.txt?path=bend-osdev-cipher-core@0.1.0.0/cipher_core.bend&name=lc.bit