def hex_digit_if
import bend-collections@1.0.0.0/src/crypto/blake/blake2b/hex.bend as Heximport Base
4def hex_digit_if(x: U32, small: Bool) -> Char:
5 match small:
6 case True{}:
7 Chr{(48 + x : U32)}
8 case False{}:
9 Chr{(87 + x : U32)}