ModeCore.cm.need_block.pick: def of bend-osdev-mode-core@0.1.0.0 Import: import bend-osdev-mode-core@0.1.0.0/mode_core.bend as ModeCore Lines 281-287 of bend-osdev-mode-core@0.1.0.0/mode_core.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-mode-core@0.1.0.0/mode_core.bend&start_line=281&end_line=287 import Base # a 16-byte value as a block, or the error e def cm.need_block.pick(ok: Bool, xs: List<&2, U32>, e: CmError) -> Result<&2, &2, CmError, CmBlock>: match ok: case True{}: Done{cm.block_of(xs)} case False{}: Fail{e} Uses (7): 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=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-mode-core@0.1.0.0/mode_core.bend&name=CmBlock https://jend.leeeet.dev/definition.txt?path=bend-osdev-mode-core@0.1.0.0/mode_core.bend&name=CmError https://jend.leeeet.dev/definition.txt?path=bend-osdev-mode-core@0.1.0.0/mode_core.bend&name=cm.block_of