def hex.digit.pick
import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytesimport Base
222def hex.digit.pick(lt: Bool, d: U32) -> Char:
223 match lt:
224 case True{}:
225 Chr{U32.add(48, d)}
226 case False{}:
227 Chr{U32.add(87, d)}
import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytesimport Base
222def hex.digit.pick(lt: Bool, d: U32) -> Char:
223 match lt:
224 case True{}:
225 Chr{U32.add(48, d)}
226 case False{}:
227 Chr{U32.add(87, d)}