Cliswitch.gate_of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/cliswitch.bend as Cliswitch Lines 87-92 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=87&end_line=92 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def gate_of(strategy: Maybe<&2, String>, model: Maybe<&2, String>, +cfg: Json.Json) -> Gate: match strategy: case None{}: Gate{[], ""} case Some{s}: gate_model(model, cfg) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/cliswitch.bend&name=Gate https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/cliswitch.bend&name=gate_model https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json