Cliswitch.warns_text: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/cliswitch.bend as Cliswitch Lines 38-45 of cswap-bend-cli@0.1.0.0/cliswitch.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/cliswitch.bend&start_line=38&end_line=45 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def warns_text(ws: List<&2, Json.Json>) -> String: match ws: case Nil{}: "" case Con{Json.JStr{w}, t}: "Warning: " ++ w ++ "\n" ++ warns_text(t) case Con{h, t}: warns_text(t) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json