def value.at
import ezx@1.11.0.0/src/toml/toml.bend as Tomlimport Base
31# this pair's value when the key matches, otherwise whatever the rest of the
32# table gave
33def value.at(kv: Kv, rest: String, key: String) -> String:
34 Kv{kk, vv} = kv
35 Bool.pick(String, String.eq(kk, key), vv, rest)