def cm.join_onto

bend-osdev-mode-core@0.1.0.0 · mode_core.bend:171

import bend-osdev-mode-core@0.1.0.0/mode_core.bend as ModeCore
import Base

171# the bytes of the blocks bs, in front of rest
172def cm.join_onto(bs: List<&2, CmBlock>, rest: List<&2, U32>) -> List<&2, U32>:
173  match bs:
174    case Nil{}:
175      rest
176    case Con{b, t}:
177      cm.bytes_onto(b, cm.join_onto(t, rest))

Uses (4)

Used by (17)