def make.nonblank
import bend-toon-codec@0.1.0.0/src/dline.bend as Dlineimport Base
56def make.nonblank(+no: U32, +l: Ld, +size: U32, +strict: Bool) -> Result<&2, &2, String, DL>:
57 match l:
58 case Ld{sp, tabs, rest}:
59 depth.pick(strict && Bool.not(U32.is_zero(tabs)), strict && Bool.not(U32.is_zero(U32.mod(sp, size)) ), no,
60 (U32.div(sp, size) + tabs : U32), String.trim_end(rest))