Setimp.fmt.named: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/setimp.bend as Setimp Lines 54-59 of cswap-bend-cli@0.1.0.0/setimp.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/setimp.bend&start_line=54&end_line=59 import Base def fmt.named(m: Maybe<&2, String>, +n: String) -> Result<&2, &2, String, String>: match m: case Some{f}: Done{f} case None{}: Fail{"unknown format '" ++ n ++ "' (json, yaml, toon, csv)"} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append