def drop_zeros
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/setting/ops.bend as Opsimport Base
81def drop_zeros(cs: List<&2, Char>) -> List<&2, Char>:
82 match cs:
83 case []:
84 []
85 case +c <> +rest:
86 Bool.pick(List<&2, Char>, Char.is_eq(c, '0'), drop_zeros(rest), c <> rest)