pub fn string_sum(s: &str, value: impl Fn(char) -> Option<u64>) -> u64
幺半群同态:字符串经 value 映射求和。value 返回 None 的字符跳过。
value
None